-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Implement diesel Expression for more types #80
Comments
All integer types are supported for use where appropriate. Unfortunately, the error messages can sometimes be unhelpful due to rust-lang/rust#28894. The trait that it's failing to find is probably If my assumptions about your app are incorrect, let me know and I'll re-open. |
Why is there no "sql type" for unsigned integers? In MySQL, for example, it is perfectly valid to have an |
I got this error.
I solved it with this:
This is a bit ugly. Could there be more types supported than just i32?
Any other suggestion than moving this cast to a function?
The text was updated successfully, but these errors were encountered: