@Matt I found your repository https://github.com/elithrar/http-api-d1-example#endpoints, does the /q
@Matt I found your repository https://github.com/elithrar/http-api-d1-example#endpoints, does the /query/batch/ endpoint still exist?

/query/batch endpoint exists for the worker because it calls the .batch method through the Workers API. All of the endpoints in the worker are just ways to access the Workers API bindings

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 flagINSERT INTO table (channel, title, start_time, end_time, description) VALUES (?, ?, ?, ?, ?), (?, ?, ?, ?, ?), (?, ?, ?, ?, ?);INSERT INTO table (channel, title, start_time, end_time, description) VALUES (?, ?, ?, ?, ?);
INSERT INTO table (channel, title, start_time, end_time, description) VALUES (?, ?, ?, ?, ?);
INSERT INTO table (channel, title, start_time, end_time, description) VALUES (?, ?, ?, ?, ?); --data '{
"params": [
"a",
"b",
"c",
"d",
"e",
"a2",
"b2",
"c2",
"d2",
"e2"
],
"sql": "INSERT INTO myTable (f1, f2, f3, f4, f5) VALUES (?, ?, ?, ?, ?), (?, ?, ?, ?, ?);"
}'const dump = await c.env.DB.dump();
return new Response(dump, {
status: 200,
headers: {
'Content-Type': 'application/octet-stream',
'Content-Disposition': 'attachment; filename="sqlite.db"',
}
});INSERT 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);
}