Are there any plans to support this? Without it, how do we ensure the integrity of data which requir
Are there any plans to support this? Without it, how do we ensure the integrity of data which requires multi step writes?

compile function
D1Database available anywhere?@cloudflare/workers-typesemail to my existing table user
--experimental-backend as mentioned in the docs[mf:err] TypeError: head is not a functionwrangler dev then opening localhost, this is the error
export function batch(d1: D1Database, statements: InsertQueryBuilder<DB, any, any>[]) {
return d1.batch(
statements.map((s) => {
const compiled = s.compile()
return d1.prepare(compiled.sql).bind(...compiled.parameters)
})
)
}/*update your wrangler first*/
>> wrangler update
npm install -g wrangler
>> create new db with beta engine
wrangler d1 create dbname
/*you can use your sqlite3 if you want I had xampp already so*/
make sure to run as admin
C:\xampp\MercuryMail\sqlite3.exe "backup-file-from-cf.sqlite3"
>> sqlite
.output c:/backup.sql
.dump
.exit
>> wrangler
wrangler d1 execute dbname --file="c:\backup.sql"[mf:err] TypeError: head is not a function[[d1_databases]]
binding = "DB"
database_name = "<DATABASE_NAME>"
database_id = "<unique-ID-for-your-database>"