-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no integer type available in models #37
Comments
You can fork this repo, make your changes in the fork, then send a pull request. |
I just pulled a code to do just this. db.define("...", {
prop: { type: "number", rational: false }
}); |
kapouer
added a commit
to kapouer/node-orm2
that referenced
this issue
Dec 11, 2014
kapouer
added a commit
to kapouer/node-orm2
that referenced
this issue
Dec 11, 2014
kapouer
added a commit
to kapouer/node-orm2
that referenced
this issue
Dec 23, 2014
kapouer
added a commit
to kapouer/node-orm2
that referenced
this issue
Jan 20, 2015
kapouer
added a commit
to kapouer/node-orm2
that referenced
this issue
Mar 24, 2015
kapouer
added a commit
to kapouer/node-orm2
that referenced
this issue
May 26, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Storing all numbers in float format is not always good idea in my opinion. I suggest you to add an optional({type:'int'}) integer type.
I am new for GitHub, how can I contribute this project and suggest you some patches?
The text was updated successfully, but these errors were encountered: