Function prepare

Convenience functions.

UnsafePrepared prepare (
  Connection conn,
  const(char[]) sql
) @safe;

Returns

an UnsafePrepared instance based on the result of the corresponding mysql.safe.connection function.

See that module for more details on how these functions work.