CrudTransaction
Extends
Constructors
Constructor
new CrudTransaction(
crud,
complete,
transactionId?): CrudTransaction;
Parameters
| Parameter | Type | Description |
|---|---|---|
crud | CrudEntry[] | List of client-side changes. |
complete | (checkpoint?) => Promise<void> | Call to remove the changes from the local queue, once successfully uploaded. |
transactionId? | number | If null, this contains a list of changes recorded without an explicit transaction associated. |
Returns
CrudTransaction
Overrides
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
complete | public | (checkpoint?) => Promise<void> | Call to remove the changes from the local queue, once successfully uploaded. | CrudBatch.complete |
crud | public | CrudEntry[] | List of client-side changes. | CrudBatch.crud |
haveMore | public | boolean | true if there are more changes in the local queue. | CrudBatch.haveMore |
transactionId? | public | number | If null, this contains a list of changes recorded without an explicit transaction associated. | - |