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