Open nbenn opened 8 months ago
I think that's happening because the SQLite driver gets zero values and doesn't know what type to infer. I find it a little strange that the type it infers by default is a SQLite integer as opposed to a SQLite null, but I get what happened.
At some point there was talk of using sqlite_decltype()
to parse out declared field type if it exists (i.e., avoid attempting to guess for the simple case where we already know the declared type), which would solve this particular example.
Related: #1591?
Using SQLite, we currently have