Constructs an instance of UFMysqlDatabase.
Log to use
Protected
convertProtected
fieldProtected
processProcesses a sql with named parameters and replaces the named parameters with values returned by the callback.
an updated SQL statement
Sql statement to process.
An object that contains properties whose name match the named parameters
This callback is invoked for every found named parameter. The result will be used to replace the named parameter.
Protected
rowProtected
rowsOptional
aPrimaryKey: stringOptional
anIgnoreFields: string[]Generated using TypeDoc
UFMysqlDatabase implements
UFDatabase
for use with mysql using the promise version of the mysql2 library. The class uses the pooling functionality to share connections.