Closed ghost closed 3 years ago
Query map function maps to incorrect columns of the same type.
I'm sure it has something to do with the fact that tp and sl are both f64.
tp
sl
DB Table
Struct
Query
Result
As I thought, it has something to do with the default order of columns. I'll just change the column order or do this https://github.com/blackbeam/rust-mysql-simple/issues/137
Query map function maps to incorrect columns of the same type.
I'm sure it has something to do with the fact that
tp
andsl
are both f64.DB Table
Struct
Query
Result