Skip to content

sqlite3 docs: clarify transaction control for SELECT #96810

@KennyChenBasis

Description

@KennyChenBasis

Documentation

In https://docs.python.org/3/library/sqlite3.html#transaction-control, it says that transactions are implicitly opened before INSERT, UPDATE, DELETE, or REPLACE statements, but it leaves open what happens for SELECT statements. Especially in the light of #54133, it should be more clear that SELECT statements don't start a transaction, either by saying "only" INSERT, etc. statements implicitly open transactions, or adding another sentence.

CC: @erlend-aasland @CAM-Gerlach

Metadata

Metadata

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions