Type Definitions
MDBConnectionDriverOptions
The mariadb
(w/MySQL support) module specific options. Both connection
and pool
will be merged when generating the connection pool.
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
connection |
Object
|
<optional> |
An object that will contain properties/values that will be used to construct the MariaDB + MySQL connection
(e.g. |
pool |
Object
|
<optional> |
The pool |
Type:
-
Object
MDBConnectionOptions
MariaDB + MySQL specific extension of the SQLERConnectionOptions
from the sqler
module.
Properties:
Name | Type | Description |
---|---|---|
driverOptions |
MDBConnectionDriverOptions
|
The |
Type:
-
Object
MDBExecDriverOptions
MariaDB + MySQL specific extension of the SQLERExecOptions
from the sqler
module. When a property of binds
contains an object it will be interpolated for property values on the mariadb
module.
For example, binds.name = '${SOME_MARIADB_CONSTANT}'
will be interpolated as
binds.name = mariadb.SOME_MARIADB_CONSTANT
.
Properties:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
preparedStatementDatabase |
String
|
<optional> |
The database name to use when generating prepared statements for the given execution. Since prepared
statements are scoped only for a given connection and a temporary stored procedure is used to execute prepared statements, |
||||||
exec |
Object
|
<optional> |
The options passed into execution/query functions provided by the |
||||||
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
namedPlaceholders |
Boolean
|
<optional> |
true | Truthy to use named parameters in MariaDB/MySQL or falsy to convert the named parameters into a positional array of bind values. |
Type:
-
Object
MDBExecOptions
MariaDB + MySQL specific extension of the SQLERExecOptions
from the sqler
module. When a property of binds
contains an object it will be interpolated for property values on the mariadb
module.
For example, binds.name = '${SOME_MARIADB_CONSTANT}'
will be interpolated as
binds.name = mariadb.SOME_MARIADB_CONSTANT
.
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
driverOptions |
MDBExecDriverOptions
|
<optional> |
The |
Type:
-
Object