Skip to content

Commit

Permalink
Polish.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtv committed Feb 23, 2021
1 parent aecbc5e commit 50283a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- Lots of deprecated stream constructors.
- `pqxx::row::swap()` now finally has the `deprecated` attribute.
- Finally deprecated a bunch of `field`, `row`, and `result` constructors.
- Exposed a class for "a transaction can only have one of these at a time."
- Exposed `transaction_focus` marker class.
7.3.1
- New, simpler API for large objects: `blob` ("binary large object").
- `largeobject` and friends are now deprecated.
Expand Down
8 changes: 5 additions & 3 deletions include/pqxx/transaction_focus.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@
namespace pqxx
{
/// Base class for things that monopolise a transaction's attention.
/** Pipelines, SQL statements, and data streams are derived from this class.
/** You probably won't need to use this class. But it can be useful to @i know
* that a given libpqxx class is derived from it.
*
* For any given transaction, only one object of any type derived from
* @c transaction_focus can be active at any given time.
* Pipelines, SQL statements, and data streams are examples of classes derived
* from @c transaction_focus. For any given transaction, only one object of
* such a class can be active at any given time.
*/
class PQXX_LIBEXPORT transaction_focus
{
Expand Down

0 comments on commit 50283a6

Please sign in to comment.