When a SQL Engine Records Column Types but Never Reads Them
DEV Community
When a SQL Engine Records Column Types but Never Reads Them
sql-nodejs accepts `id INT` and stores every value as a string. `WHERE age=25` matches a row and `WHERE age=25.0` matches nothing, because the comparison is string equality between two fragments of the query text.
0 comments
No comments yet.