but running a code like this ```js const result = req.context.db.prepare("SELECT * from accounts");
but running a code like this
Results in:
When I have the tables set up
Results in:
When I have the tables set up

const result = req.context.db.prepare("SELECT * from accounts");
const rows = await result.all();
console.log(rows);Error: D1_ERROR
at D1Database._send (C:\Users\hasx\OneDrive\Dokumentumok\Rókales\foxadopt\node_modules\@miniflare\d1\src\d1js.ts:148:13)
at D1PreparedStatement.all (C:\Users\hasx\OneDrive\Dokumentumok\Rókales\foxadopt\node_modules\@miniflare\d1\src\d1js.ts:242:7)
... 7 lines matching cause stack trace ...
at C:\Users\hasx\AppData\OneDrive\Dokumentumok\Rókales\foxadopt\functions\[[path]].js:3446:92 {
[cause]: Error: Error: SqliteError: no such table: accountsnpx wrangler@3.4 <your commands> and report backD1Database wrangler deploy this.client.prepare is not a functionwrangler commands you're invoking? Here's a working Remix demo app: https://github.com/elithrar/remix-plus-d1
--local flag? Please be precise wrangler d1 execute <database name> --command <SQL here>npx wrangler@3.4 <your commands>D1Databasethis.client.prepare is not a functionwrangler d1 execute <database name> --command <SQL here>