await connection.transaction((ctx) async {
var result = await ctx.query("SELECT id FROM table");
await ctx.query("INSERT INTO table (id) VALUES (@a:int4)", {
"a" : result.last[0] + 1
});
});
too many argument, only 1 expected but 2 found
Perhaps you could amend the documentation with a working example ?
Trying the example from the documentation:
Perhaps you could amend the documentation with a working example ?