Not sure what I'm doing wrong, and I'm not experienced with JS or SQL, but 1) the console works fin

Not sure what I'm doing wrong, and I'm not experienced with JS or SQL, but
1) the console works fine
2) invalid query throw errors
but...
3) valid queries return nothing?
console.log(query);
result = context.env.db.prepare(query).bind(value);
const res = await result.raw();
console.log("RESULT: "+res);


p.s. - please leave ping on for replies (ping me after if your forget)
Was this page helpful?