Creates a temporary table from an SQL query. More...
Public Member Functions | |
| def | __init__ (self, SQLite3DB db, str output_table, List[str] outputs, Union[str, List[str]] query, bool make_persistent=False) |
| Acquires the reference to an open connection to the DB and configure the Transformer. More... | |
Creates a temporary table from an SQL query.
Persitency can be enabled.
Python binding of SQLamarr::TemporaryTable.
Definition at line 27 of file TemporaryTable.py.
| def SQLamarr.TemporaryTable.TemporaryTable.__init__ | ( | self, | |
| SQLite3DB | db, | ||
| str | output_table, | ||
| List[str] | outputs, | ||
| Union[str, List[str]] | query, | ||
| bool | make_persistent = False |
||
| ) |
Acquires the reference to an open connection to the DB and configure the Transformer.
| db | An open database connection; |
| output_table | name of the table where the query output is stored; |
| outputs | list of the output column names for further reference; |
| query | SQL query (or queries) defining the output columns; |
| make_persistent | mark the TABLE as persistent. |
Definition at line 33 of file TemporaryTable.py.