Skip to content

Commit

Permalink
Clarify nontransaction docs. (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtv authored Aug 26, 2024
1 parent dce0e23 commit 793fbfe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/pqxx/nontransaction.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ using namespace std::literals;
* time out, e.g. when the network is unavailable for a very long time).
*
* Any query executed in a nontransaction is committed immediately, and neither
* commit() nor abort() has any effect.
* commit() nor abort() has any effect as far as the database is concerned.
* Just like other transaction types, however, the nontransaction remains
* attached to the @ref pqxx::connection until you commit, abort, or destroy
* it. Just like a regular transaction, it is a @ref transaction_focus, of
* which no more than one can be active for any given connection at any given
* time.
*
* Database features that require a backend transaction, such as cursors or
* large objects, will not work in a nontransaction.
Expand Down

0 comments on commit 793fbfe

Please sign in to comment.