Files
turso/bindings/python/src
Glauber Costa 323a63aef0 bindings/python: read last_insert_rowid from the engine
The driver learned the rowid of an INSERT by preparing and executing
SELECT last_insert_rowid() after every INSERT/REPLACE — a full extra
statement per insert. Expose the engine's connection-level rowid
through the native module and read it directly. Besides removing the
per-insert overhead, this is needed by the upcoming parameterized batch
API, where a per-statement rowid fetch would otherwise double the
statement count of insert-heavy batches.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-28 10:40:25 -07:00
..