Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Return last_affected_row_id after an insert / update #91

@avinassh

Description

@avinassh

from ChrisMills on Discord:

Ensure that after an insert or update, cursor.rowid has the last affected row. This is very useful behavior that avoids the need to make an immediate read to get that id. It's part of the sqlite3 python module that I really like and python users experienced with it are likely to expect libsql has the same feature. I did.

https://discord.com/channels/933071162680958986/1364681822679859362/1366422132757893161

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions