I tried making a request to /query/batch and I get page not found
I tried making a request to /query/batch and I get page not found
D1_DUMP_ERROR: Status + 404 when I call that endpoint


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 queryINSERT INTO 'tablename' ('column1', 'column2') VALUES
('data1', 'data2'),
('data3', 'data4'),
('data5', 'data6'),
('data7', 'data8');`app.get('/posts/:lang/:slug/comments', async c => {
const { results } = await c.env.comDB.prepare();
return c.text(results, 200);
}D1_DUMP_ERROR: Status + 404const dump = await c.env.DB.dump();
return new Response(dump, {
status: 200,
headers: {
'Content-Type': 'application/octet-stream',
'Content-Disposition': 'attachment; filename="sqlite.db"',
}
});