pyqldb.session.executor.
Executor
(transaction)[source]¶A class to handle lambda execution.
transaction (pyqldb.transaction.transaction.Transaction
) – The transaction that this executor is running within.
abort
()[source]¶Abort the transaction and roll back any changes.
LambdaAbortedError – When invoked.
execute_statement
(statement, parameters=[])[source]¶Execute the statement.
statement (str) – The statement to execute.
parameters (list) – Optional list of Ion values to fill in parameters of the statement.
Cursor on the result set of the statement.
TransactionClosedError – When this transaction is closed.