Skip to content

queries

etl_craft.engine.queries

Running Engine DB queries from the dialect's query catalog.

statement

statement(bind: Connection | Engine, name: str) -> TextClause

Return catalog query name for the Engine DB bind is connected to.

run_script

run_script(conn: Connection, statements: Iterable[str]) -> None

Run each statement exactly as written, with no bind parameters.

Colons are left alone. A driver whose placeholders use % (psycopg) still reads one in the text as a placeholder, so each % is doubled for it.