TypeInfo missing on Column but available on SqliteValueRef. #1759
L020Isry8fuLjSL7r0Gmxw
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
note: This started out as an issue, but in the process of proving I had tried everything on my own I discovered a work around. Now it is just interesting rather than a problem.
I was trying to run some adhoc queries using the sqlite driver and could not find type information when query did not involve a table. However if I get use the raw SqliteValueRef then I can get type information.
This is not a problem for me because I can read the types from the try_get_raw approach.
I searched the issues and it sounds like my problem could be related to #1246 or #1524. Basically when people on sqlite are running into column type is null but expect X, it could be the result of checking one column type API and not the other one.
minimal example
Cargo.toml
src/main.rs
Output
Beta Was this translation helpful? Give feedback.
All reactions