mysql.prepared

Use a DB via SQL prepared statements.

Members

Aliases

PSN
alias PSN = ParameterSpecialization

A struct to represent specializations of prepared statement parameters.

Functions

prepare
Prepared prepare(Connection conn, string sql)

Submit an SQL command to the server to be compiled into a prepared statement.

prepareFunction
Prepared prepareFunction(Connection conn, string name, int numArgs)

Convenience function to create a prepared statement which calls a stored function.

prepareProcedure
Prepared prepareProcedure(Connection conn, string name, int numArgs)

Convenience function to create a prepared statement which calls a stored procedure.

Structs

ParameterSpecialization
struct ParameterSpecialization

A struct to represent specializations of prepared statement parameters.

Prepared
struct Prepared

Encapsulation of a prepared statement.

PreparedImpl
struct PreparedImpl

This is the internal implementation of Prepared. It is not intended to be used directly, as Prepared wraps a PreparedImpl with RefCounted, and offers access to the public PreparedImpl members via "alias this".

Meta