deleted your message, it seems to contain secrets
deleted your message, it seems to contain secrets




/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

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 (?, ?, ?, ?, ?);
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');`"sql": "INSERT INTO table (channel, title, start_time, end_time, description) VALUES (?, ?, ?, ?, ?);"sql": "INSERT INTO table (channel, title, start_time, end_time, description) VALUES (?, ?, ?, ?, ?), (?, ?, ?, ?, ?), (?, ?, ?, ?, ?);"