Abort the transaction and roll back any changes.
Execute the specified statement in the current transaction. This method returns a promise which eventually returns all the results loaded into memory.
The PartiQL statement executed via this transaction is not immediately committed.
The entire transaction will be committed once the all the code in transactionFunction
(passed as an argument to QldbDriver.executeLambda) completes.
The statement to execute.
Variable number of arguments, where each argument corresponds to a placeholder (?) in the PartiQL query. The argument could be any native JavaScript type or an Ion DOM type. Details of Ion DOM type and JavaScript type
Promise which fulfills with all results loaded into memory
Execute the specified statement in the current transaction. This method returns a promise which fulfills with Readable interface, which allows you to stream one record at time
The PartiQL statement executed via this transaction is not immediately committed.
The entire transaction will be committed once the all the code in transactionFunction
(passed as an argument to QldbDriver.executeLambda) completes.
The statement to execute.
Variable number of arguments, where each argument corresponds to a placeholder (?) in the PartiQL query. The argument could be any native JavaScript type or an Ion DOM type. Details of Ion DOM type and JavaScript type
Promise which fulfills with a Readable Stream
Get the transaction ID.
The transaction ID.
Generated using TypeDoc
A class to handle lambda execution.