Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement diesel Expression for more types #80
Comments
This comment has been minimized.
|
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. |
sgrif
closed this
Jan 8, 2016
This comment has been minimized.
JohnMH
commented
Mar 10, 2018
|
Why is there no "sql type" for unsigned integers? In MySQL, for example, it is perfectly valid to have an |
lephyrius commentedJan 8, 2016
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?