Ah gotcha then to batch you’ll need to run the proxy worker
Ah gotcha then to batch you’ll need to run the proxy worker

app.get('/posts/:lang/:slug/comments', async c => {
const { results } = await c.env.comDB.prepare();
return c.text(results, 200);
}
—local flag
.all() at the end of your prepare in order to use the statementError: D1_TYPE_ERROR: Type 'boolean' not supported for value 'true'email_verified BOOLEAN DEFAULT 0,true use 1 for your SQL queryapp.get('/posts/:lang/:slug/comments', async c => {
const { results } = await c.env.comDB.prepare();
return c.text(results, 200);
}