Closed
Description
Hello. I am using tiberius on some database ORM, and I am unable to play with float types.
Whenever I define a classical float on SqlServer, tiberius always broke the result on the row.get()
method.
Is this a know bug? Whatching the crate tiberius-derive
, they specifically talk about this one.
Known issues:
There is a tiberius bug(?) that breaks Option fields at the moment. Tiberius appears to always parse null Float(53) (double) columns as Nullable(f32) independently of the column type.
So, my Rust field is an Option. If I try to change it to an Option...
Result::unwrap()` on an `Err` value: Conversion("cannot interpret F32(None) as an f64 value")
Is this a known bug? Exists some workaround over it? How can I fix my code? I am using it on an enterprise level application, releasing the code in production, and we're getting delayed because we can't work with our float columns.
Thanks in advice for your time.
Metadata
Metadata
Assignees
Labels
No labels