Apologies if this is already supported, but would it be possible to get the ability to run multiple statements in one request? Something like
await conn.execute("INSERT INTO foo(x) VALUES(12); SELECT LAST_INSERT_ID() as id;")
Obviously you can achieve that with separate queries, but that would require blocking until the insert is done, and then blocking while you grab the inserted id.