bi_etl.statement_queue module

Created on Mar 2, 2015

@author: Derek Wood

class bi_etl.statement_queue.StatementQueue(execute_with_binds=True)[source]

Bases: object

A queue of pending SQLAlchemyy statements

__init__(execute_with_binds=True)[source]

Constructor

add_statement(key, stmt)[source]
append_values_by_key(key, values)[source]
static encapsulate_row_value_list(value_list: list) str[source]
static encapsulate_value(value) str[source]
execute(connection) int[source]
execute_singly(connection) int[source]
get_statement_by_key(key)[source]
iter_single_statements() Tuple[Executable, Row][source]
values_str_list(rows, row_limit: int = None, size_soft_limit: int = None)[source]