Does using template strings not compromise with type-safety? The drizzle example will be a compile time error for example if id wasn't a numeric column.
Seems a strange design choice for a library that claims to offer a type-safe sql builder.
Right the SQL expression is validating that you're referencing tables that are included in the query and that all column references exist, not that the parameter value matches the property type, although SQLite and MySQL does allow you to use a string to query an int column, e.g:
SELECT * from Contact where id = '1'
With that said you can achieve something similar in litdb with a custom expression:
mythz|1 year ago
lf-non|1 year ago