Open penberg opened 2 months ago
Interactive transactions require to use the verbose API:
await tx.execute({sql: "INSERT INTO users (id, name) VALUES (?, ?)", args: [3, "Charlie"]}); await tx.execute({sql: "INSERT INTO users (id, name) VALUES (?, ?)", args: [4, "Eve"]});
Let's add support for the simpler one:
await tx.execute("INSERT INTO users (id, name) VALUES (?, ?)", [3, "Charlie"]); await tx.execute("INSERT INTO users (id, name) VALUES (?, ?)", [4, "Eve"]);
CC @notrab @giovannibenussi
Interactive transactions require to use the verbose API:
Let's add support for the simpler one: