import { BaseQueryRunner } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/query-runner/BaseQueryRunner.ts";
Properties
Real database connection from a connection pool used to perform queries.
Mode in which query runner executes. Used for replication. If replication is not setup its value is ignored.
Indicates if special query runner mode in which sql queries won't be executed is enabled.
Indicates if connection for this query runner is released. Once its released, query runner cannot run queries anymore.
Methods
Executes sql used special for schema build.
Gets table from previously loaded tables, otherwise loads it from database.
Gets view from previously loaded views, otherwise loads it from database.
Checks if at least one of column properties was changed. Does not checks column type, length and autoincrement, because these properties changes separately.
Checks if column length is by default.
Checks if column precision is by default.
Checks if column scale is by default.
Checks if column display width is by default. Used only for MySQL.
Replaces loaded table with given changed table.
Flushes all memorized sqls.
Disables special query runner mode in which sql queries won't be executed started by calling enableSqlMemory() method.
Previously memorized sql will be flushed.
Enables special query runner mode in which sql queries won't be executed, instead they will be memorized into a special variable inside query runner. You can get memorized sql using getMemorySql() method.
Executes down sql queries.
Executes up sql queries.
Gets sql stored in the memory. Parameters in the sql are already replaced.
Loads given table's data from the database.
Loads all tables (with given names) from the database.
Loads given view's data from the database.
Loads given view's data from the database.
Executes a given SQL query.