Skip to content
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

Don't cast numeric strings to integers when they are explicitly defined as a string in the ORM prototype #2

Open
joepie91 opened this issue Oct 23, 2013 · 0 comments
Labels

Comments

@joepie91
Copy link
Owner

Currently the database abstraction code will attempt to cast all whole numeric strings to integers, no matter where the data comes from.

The query method should have some way of informing it of explicit datatypes, to prevent this conversion if the parameter is explicitly configured as a 'string' in the prototype of an ORM class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant