D1 has no transactions — using client.batch() for multi-step writes
Cloudflare D1 has no BEGIN/COMMIT. The official answer is client.batch(), but it has four subtle rules worth writing down. Worked example from DuitGee's fund-transfer handler. 🚀
cloudflare D1drizzlehonosveltekitduitgee