Executable Reference

class pyqldb.execution.executable.Executable[source]

An abstract base class representing the functionality of execution against QLDB.

abstract execute_lambda(query_lambda, retry_indicator)[source]

Implicitly start a transaction, execute the lambda function, and commit the transaction, retrying up to the retry limit if an OCC conflict or retriable exception occurs. This method must be overridden.

abstract execute_statement(statement, *parameters, retry_indicator)[source]

Implicitly start a transaction, execute the statement, and commit the transaction, retrying up to the retry limit if an OCC conflict or retriable exception occurs. This method must be overridden.