MySqlAdapter

Wrapper around a mysql adapter.

Constructors

this
this(string connectionString)

Creates a new mysql adapter.

Members

Functions

execute
ulong execute(string query, DbParam[string] params, string connectionString)

Executes an sql statement.

executeRaw
ulong executeRaw(string query, DbParam[] params, string connectionString)

Executes a raw sql statement.

exists
bool exists(string query, DbParam[string] params, string connectionString)

Validates whether a row is selected from the query or not.

existsRaw
bool existsRaw(string query, DbParam[] params, string connectionString)

Validates whether a row is selected from the raw query or not.

readMany
TModel[] readMany(string query, DbParam[string] params, string connectionString)

Executes a multi sql read.

readManyRaw
TModel[] readManyRaw(string query, DbParam[] params, string connectionString)

Executes a raw multi sql read.

readSingle
TModel readSingle(string query, DbParam[string] params, string connectionString)

Executes a single sql read.

readSingleRaw
TModel readSingleRaw(string query, DbParam[] params, string connectionString)

Executes a single raw sql read.

scalarImpl
Variant scalarImpl(string query, DbParam[string] params, string connectionString)

Executes a scalar sql statement.

scalarInsertImpl
Variant scalarInsertImpl(string query, DbParam[string] params, string connectionString)

Executes a scalar insert sql statement.

scalarInsertRawImpl
Variant scalarInsertRawImpl(string query, DbParam[] params, string connectionString)

Executes a raw scalar insert sql statement.

scalarRawImpl
Variant scalarRawImpl(string query, DbParam[] params, string connectionString)

Executes a raw scalar sql statement.

Meta