Skip to main content

CrudTransaction

Extends​

Constructors​

Constructor​

new CrudTransaction(
crud,
complete,
transactionId?): CrudTransaction;

Parameters​

ParameterTypeDescription
crudCrudEntry[]List of client-side changes.
complete(checkpoint?) => Promise<void>Call to remove the changes from the local queue, once successfully uploaded.
transactionId?numberIf null, this contains a list of changes recorded without an explicit transaction associated.

Returns​

CrudTransaction

Overrides​

CrudBatch.constructor

Properties​

PropertyModifierTypeDescriptionInherited from
completepublic(checkpoint?) => Promise<void>Call to remove the changes from the local queue, once successfully uploaded.CrudBatch.complete
crudpublicCrudEntry[]List of client-side changes.CrudBatch.crud
haveMorepublicbooleantrue if there are more changes in the local queue.CrudBatch.haveMore
transactionId?publicnumberIf null, this contains a list of changes recorded without an explicit transaction associated.-