Skip to content

Table.insert() documentation does not make it clear it will commit #712

@douglas-raillard-arm

Description

@douglas-raillard-arm

Table.insert() documentation does not state it will commit any on-going transaction. This happens inside insert_chunks() when using the sqlite connection as a context manager.

This turned out to be an issue in my code where I use manual transaction control, where insert() commits the transaction earlier than I expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions