Gda.TransactionStatus¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
events |
r |
||
isolation_level |
r |
||
name |
r |
||
object |
r |
||
state |
r |
Class Details¶
- class Gda.TransactionStatus(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(name)¶
- Parameters:
name (
str
) – name for the transaction- Returns:
the newly created object.
- Return type:
Creates a new
Gda.TransactionStatus
object, which allows a fine-tune and full control of transactions to be used with providers.
- find(str, destev)¶
- Parameters:
str (
str
) –destev (
Gda.TransactionStatusEvent
) –
- Return type:
- find_current(destev, unnamed_only)¶
- Parameters:
destev (
Gda.TransactionStatusEvent
) –unnamed_only (
bool
) –
- Return type:
Find a pointer to the “current” _unnamed_ transaction, which is the last transaction if there are several nested transactions
- free_events(event, free_after)¶
- Parameters:
event (
Gda.TransactionStatusEvent
) –free_after (
bool
) –