Given an empty table created with this schema:
create table user(
id integer primary key,
username text unique
)
This query
let (id, username) =
query:
select user(id, username)
where id == 1
limit 1
Returns a confusing error:
queries.nim(890) test
ormin_sqlite.nim(20) dbError
Error: unhandled exception: not an error [DbError]