I'm working on an open-source ORM for Deno called Cotton. It relies on this package, and I need to have access to the last inserted row id whenever I insert a new record to the database.
It basically exposes the sqlite3_last_insert_rowid function, and the value is now accessible in the lastInsertRowId property.
I'm working on an open-source ORM for Deno called Cotton. It relies on this package, and I need to have access to the last inserted row id whenever I insert a new record to the database.
It basically exposes the
sqlite3_last_insert_rowid
function, and the value is now accessible in thelastInsertRowId
property.Let me know if I need to do anything.