Private
_transactionExecute 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 executeLambda) completes.
Promise which fulfills with all results loaded into memory
Error when the passed argument value cannot be converted into Ion
The statement to execute.
Rest
...parameters: any[]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
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 executeLambda) completes.
Promise which fulfills with a Readable Stream
TransactionClosedError when the transaction is closed.
Error when the passed argument value cannot be converted into Ion
The statement to execute.
Rest
...parameters: any[]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
Generated using TypeDoc
A class to handle lambda execution.