GObject.Object
Midgard.Transaction
Import line: | Midgard = imports.gi.Midgard; |
GIR File: | Midgard-10.05.gir |
C documentation: | MidgardTransaction |
Class : | Transaction |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
parent : GObject.Object
read only
|
Midgard.Transaction | |
priv : Midgard.TransactionPrivate
read only
|
Midgard.Transaction |
Method / Constructor | Defined By | |
---|---|---|
new Midgard.Transaction
(Object properties)
Create a new Midgard.Transaction
Create a new Midgard.Transaction
|
||
Create a new Midgard.Transaction
Create a new Midgard.Transaction
|
||
begin
()
:
Boolean
Begins new, underlying database provider's transaction.
Begins new, underlying database provider's transaction. In case of error, MidgardConnection error is set to MGD_ERR_INTERNAL.
|
Midgard.Transaction | |
commit
()
:
Boolean
In case of error, MidgardConnection error is set to MGD_ERR_INTERNAL.
In case of error, MidgardConnection error is set to MGD_ERR_INTERNAL.
|
Midgard.Transaction | |
get_name
()
:
String
|
Midgard.Transaction | |
get_status
()
:
Boolean
Returns transaction status.
Returns transaction status. FALSE means, any transaction operation failed. No MidgardConnection error is set in case of error.
|
Midgard.Transaction | |
rollback
()
:
Boolean
In case of error, MidgardConnection error is set to MGD_ERR_INTERNAL
In case of error, MidgardConnection error is set to MGD_ERR_INTERNAL
|
Midgard.Transaction |
None |