mysql.protocol.commands

Undocumented in source.

Members

Aliases

queryResult
deprecated alias queryResult = querySet

Execute a one-off SQL command for the case where you expect a result set, and want it all at once.

querySequence
deprecated alias querySequence = query

Execute a one-off SQL command for the case where you expect a result set, and want to deal with it a row at a time.

queryTuple
deprecated alias queryTuple = queryRowTuple

Execute a one-off SQL command to place result values into a set of D variables.

Functions

exec
ulong exec(Connection conn, string sql)

Execute a one-off SQL command.

execImpl
ulong execImpl(Connection conn, ExecQueryImplInfo info)

Common implementation for mysql.protocol.commands.exec and Prepared.exec

execQueryImpl
bool execQueryImpl(Connection conn, ExecQueryImplInfo info, ulong ra)
bool execQueryImpl(Connection conn, ExecQueryImplInfo info)

Internal implementation for the exec and query functions.

query
ResultRange query(Connection conn, string sql, ColumnSpecialization[] csa)

Execute a one-off SQL command for the case where you expect a result set, and want to deal with it a row at a time.

queryImpl
ResultRange queryImpl(ColumnSpecialization[] csa, Connection conn, ExecQueryImplInfo info)

Common implementation for mysql.protocol.commands.query and Prepared.query

queryRow
Nullable!Row queryRow(Connection conn, string sql, ColumnSpecialization[] csa)

Executes a one-off SQL command and returns the first row received, or null if none. Useful for the case where you expect a (possibly empty) result set, and you're either only expecting one row, or only care about the first row.

queryRowImpl
Nullable!Row queryRowImpl(ColumnSpecialization[] csa, Connection conn, ExecQueryImplInfo info)

Common implementation for mysql.protocol.commands.querySet and Prepared.querySet

queryRowTuple
void queryRowTuple(Connection conn, string sql, T args)

Execute a one-off SQL command to place result values into a set of D variables.

queryRowTupleImpl
void queryRowTupleImpl(Connection conn, ExecQueryImplInfo info, T args)

Common implementation for mysql.protocol.commands.queryRowTuple and Prepared.queryRowTuple

querySet
ResultSet querySet(Connection conn, string sql, ColumnSpecialization[] csa)

Execute a one-off SQL command for the case where you expect a result set, and want it all at once.

querySetImpl
ResultSet querySetImpl(ColumnSpecialization[] csa, bool binary, Connection conn, ExecQueryImplInfo info)

Common implementation for mysql.protocol.commands.querySet and Prepared.querySet

queryValue
Nullable!Variant queryValue(Connection conn, string sql, ColumnSpecialization[] csa)

Executes a one-off SQL command and returns a single value: The the first column of the first row received. Useful for the case where you expect a (possibly empty) result set, and you're either only expecting one value, or only care about the first value.

queryValueImpl
Nullable!Variant queryValueImpl(ColumnSpecialization[] csa, Connection conn, ExecQueryImplInfo info)

Common implementation for mysql.protocol.commands.querySet and Prepared.querySet

Structs

Command
struct Command

Encapsulation of an SQL command or query.

ExecQueryImplInfo
struct ExecQueryImplInfo
Undocumented in source.

Meta