class documentation
indicates the origin of a :class:`.SessionTransaction`. This enumeration is present on the :attr:`.SessionTransaction.origin` attribute of any :class:`.SessionTransaction` object. .. versionadded:: 2.0
Constant | AUTOBEGIN |
transaction were started by autobegin |
Constant | BEGIN |
transaction were started by calling :meth:`_orm.Session.begin` |
Constant | BEGIN |
tranaction were started by :meth:`_orm.Session.begin_nested` |
Constant | SUBTRANSACTION |
transaction is an internal "subtransaction" |