Use FromSql
and ToSql
implementations for u64
#5225
Labels
good first issue
Appropriate for a new open source contribution.
Milestone
I discovered while reviewing #5153 that after updating rusqlite in this repo from 0.24.2 to 0.31.0, rusqlite added
FromSql
andToSql
impls foru64
!This implementation behaves as we would want: if a
u64
is supplied which is greater than an i64::max, it returns an error, and if ToSql gets an i64 less than 0, it errors. Docs link:The text was updated successfully, but these errors were encountered: