View source on GitHub |
An in flight transaction.
Inherits From: expected_type
google.appengine.datastore.datastore_stub_util.LiveTxn(
txn_manager, app, allow_multiple_eg, mode
)
Methods
AddActions
AddActions(
*args, **kwargs
)
Commit
Commit(
*args, **kwargs
)
Delete
Delete(
*args, **kwargs
)
Get
Get(
*args, **kwargs
)
GetMutationVersion
GetMutationVersion(
reference
)
Returns the version of an entity after this transaction has committed.
GetQueryCursor
GetQueryCursor(
*args, **kwargs
)
Put
Put(
*args, **kwargs
)
Rollback
Rollback()
Rollback the current txn.
Class Variables | |
---|---|
ACTIVE |
1
|
COMMITTED |
2
|
FAILED |
4
|
ROLLEDBACK |
3
|