Open TheRustifyer opened 1 year ago
Hello. Following this issue about conversion errors on floating point types, I found also the same error for the tiberius tiberius::ColumnType::Intn.
tiberius::ColumnType::Intn
An easy to read example:
TIB_TY::Intn => Self::IntValue( row.get_opt::<i32>(col.name()) ),
My row type is just a trait object, that wraps your row.get<T, U>() row extractor. I am extracting data by a string reference &str as my QueryIdx parameter.
row.get<T, U>()
&str
QueryIdx
Fix is as easy as the fix applied on the floating point types issues, but for the Intn.
Intn
Is it possible to have a fix for this issue?
Thanks.
PR would be appreciated!
Hello. Following this issue about conversion errors on floating point types, I found also the same error for the tiberius
tiberius::ColumnType::Intn
.An easy to read example:
My row type is just a trait object, that wraps your
row.get<T, U>()
row extractor. I am extracting data by a string reference&str
as myQueryIdx
parameter.Fix is as easy as the fix applied on the floating point types issues, but for the
Intn
.Is it possible to have a fix for this issue?
Thanks.