Connection used by driver.
Master database used to perform all write queries.
Indicates if replication is enabled.
Mysql underlying library.
Connection options.
Connection pool. Used in non-replication mode.
Pool cluster used in replication mode.
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 supports UNSIGNED and ZEROFILL attributes.
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 supports scale by a driver.
Gets list of column data types that support length 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"
Checks if "DEFAULT" values in the column metadata and in the database are equal.
Performs connection to the database.
Creates a new connection pool for a given database credentials.
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.
Loads all driver dependencies.
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.
Attaches all required base handlers to a database connection, such as the unhandled error handler.
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 columns. Column types are driver dependant.
Generated using TypeDoc
Organizes communication with MySQL DBMS.