Prepared.setArg

Prepared statement parameter setter.

The value may, but doesn't have to be, wrapped in a Variant. If so, null is handled correctly.

The value may, but doesn't have to be, a pointer to the desired value.

The value may, but doesn't have to be, wrapped in a Nullable!T. If so, null is handled correctly.

The value can be null.

Parameter specializations (ie, for chunked transfer) can be added if required. If you wish to use chunked transfer (via psn), note that you must supply a dummy value for val that's typed ubyte[]. For example: cast(ubyte[])[].

More...
  1. void setArg(size_t index, T val, ParameterSpecialization psn)
  2. void setArg(size_t index, Nullable!T val, ParameterSpecialization psn)
    struct Prepared
    void
    setArg
    (
    T
    )
    (
    size_t index
    ,
    Nullable!T val
    ,)

Detailed Description

Type Mappings

$(TYPE_MAPPINGS)

Meta