© 2026 Hedgehog Software, LLC
await db.transaction(async (tx) => { const q1 = tx.update(...).set(...).where(...).prepare(); const q2 = tx.insert(...).values(...).prepare(); await q1.execute(); await q2.execute(); });