Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
prmph
· 3w ago · 0 comments
It is not a good design. It should throw an error.
Comments
[–]
stefanos82
3w ago
Then declare your table(s) as strict; that should solve your issues.
https://sqlite.org/stricttables.html
[–]
hans_castorp
3w ago
But strict isn't supported if you are using exotic data types like DATE or TIMESTAMP
[–]
prmph
OP
3w ago
Even with STRICT, explicit CAST() has the same problem.