Constructor of OINODbMariadb
database parameters
Coerce a data value into a MariaDB bind-parameter value. The connector binds numbers,
strings, Date and Buffer natively; booleans are mapped to 1/0 for bit/numeric columns.
data value to bind
native type name for the table column
Connect to database.
Disconnect from database.
Resolve the optimal native (SQL) type for a serialized field schema.
serialized field schema
Get the schema fields of a table as OINODataFields (without any API-level field filtering).
name of the table
Get the names of all user (base) tables in the database schema, excluding system tables and views.
Parse a single SQL result value for serialization using the context of the native data type.
data from serialization
native type name for table column
Print a single data value from serialization using the context of the native data type with the correct SQL escaping.
data from sql results
native type name for table column
Print a column name with correct SQL escaping.
name of the column
Print a bind-parameter placeholder for the given zero-based parameter index (MySQL/MariaDB ?).
zero-based parameter index
Print a single string value as valid sql literal
string value
Print a table name using database specific SQL escaping.
name of the table
Execute a parameterized statement, binding its values as positional ? parameters.
statement (SQL text + ordered bind values) to execute
Execute other sql operations.
SQL statement.
Execute a select operation.
SQL statement.
Validate connection to database is working.
Implementation of MariaDb/MySql-database.