Connection used by driver.
Master database used to perform all write queries.
Indicates if replication is enabled.
Pool for master database.
SQL Server library.
Connection options.
Pool for slave databases. Used in replication.
Gets list of spatial column data types.
Gets list of supported column data types by a driver.
Indicates if tree tables are supported by this driver.
Gets list of column data types that support length by a driver.
Gets list of column data types that support precision by a driver.
Gets list of column data types that support scale by a driver.
Makes any action after connection (e.g. create extensions in Postgres driver).
Build full table name with database name, schema name and table name. E.g. "myDB"."mySchema"."myTable"
Performs connection to the database. Based on pooling options, it can either create connection immediately, either create a pool and create connection when needed.
Creates column type definition including length, precision and scale
Creates generated map of values generated or returned by database after INSERT query.
Creates an escaped parameter.
Creates a new connection pool for a given database credentials.
Creates a query runner used to execute database queries.
Creates a schema builder used to build and sync a schema.
Closes connection with the database.
Escapes a column name.
Replaces parameters in the given sql with special escaping character and an array of parameter names to be passed to a query.
Differentiate columns of this table and columns from the given column metadatas columns and returns only changed.
Returns default column lengths, which is required on column creation.
Returns true if driver supports RETURNING / OUTPUT statement.
Returns true if driver supports uuid values generation on its own.
If driver dependency is not given explicitly, then try to load it via "require".
Normalizes "default" value of the column.
Normalizes "isUnique" value of the column.
Creates a database type from a given column metadata.
Obtains a new database connection to a master server. Used for replication. If replication is not setup then returns default connection's database connection.
Obtains a new database connection to a slave server. Used for replication. If replication is not setup then returns master (default) connection's database connection.
Sql server's parameters needs to be wrapped into special object with type information about this value. This method wraps all values of the given object into MssqlParameter based on their column definitions in the given table.
Sql server's parameters needs to be wrapped into special object with type information about this value. This method wraps given value into MssqlParameter based on its column definition.
Prepares given value to a value to be persisted, based on its column type or metadata.
Prepares given value to a value to be persisted, based on its column type and metadata.
Default values of length, precision and scale depends on column data type. Used in the cases when length/precision/scale is not specified by user.
Orm has special columns and we need to know what database column types should be for those types. Column types are driver dependant.
Generated using TypeDoc
Organizes communication with SQL Server DBMS.