Skip to content

fix: Table.insert() documentation does not make it clear it will commit#718

Open
RamiNoodle733 wants to merge 1 commit intosimonw:mainfrom
RamiNoodle733:fix/issue-712
Open

fix: Table.insert() documentation does not make it clear it will commit#718
RamiNoodle733 wants to merge 1 commit intosimonw:mainfrom
RamiNoodle733:fix/issue-712

Conversation

@RamiNoodle733
Copy link

@RamiNoodle733 RamiNoodle733 commented Mar 7, 2026

Summary

Clarifies the Table.insert() reference documentation to explicitly state that it commits changes as part of an internal transaction.

Changes

  • Updated the Table.insert() docstring in sqlite_utils/db.py with a sentence describing commit behavior.

Testing

  • python3 -m compileall -q sqlite_utils/db.py
  • Could not run pytest in this environment (No module named pytest).

Closes #712


📚 Documentation preview 📚: https://sqlite-utils--718.org.readthedocs.build/en/718/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant