Closed rayzorben closed 12 months ago
I could be doing something wrong, but I am doing
var foo = data.prepare "SELECT * FROM MyTable WHERE Name IN (?)"; foo.all("'Name1','Name2','Name3'");
I am not getting anything back despite the query working in SqliteStudio and I am guessing it has to do with only one bind parameter being '?'.
Is there an easy way to support this, or do I just need to exec() ?
exec()
https://github.com/WiseLibs/better-sqlite3/issues/948#issuecomment-1407653239
I could be doing something wrong, but I am doing
I am not getting anything back despite the query working in SqliteStudio and I am guessing it has to do with only one bind parameter being '?'.
Is there an easy way to support this, or do I just need to
exec()
?