create table if not exists tb_varchar(
typvarchar text not null
);
code:
let v = "one"
db.exec(sql"insert into tb_varchar(typvarchar) values (?)", v)
let res = query:
select tb_varchar(typvarchar)
where typvarchar == ?v
echo res
I got res: @[], no matching data.
ormin_sqlite.nim line 37: bind_blob maybe replaced with bind_text when using string type parameter.
database schema:
code:
I got res: @[], no matching data. ormin_sqlite.nim line 37: bind_blob maybe replaced with bind_text when using string type parameter.