Statement.bind

Binds values to parameters of this statement, using parameter index.

  1. void bind(int index, T value)
  2. void bind(int index, T value)
  3. void bind(int index, T value)
    struct Statement
    void
    bind
    (
    T
    )
    (
    int index
    ,
    )
    if (
    isFloatingPoint!T
    )
    in { assert (index > 0 && index <= p.paramCount, "parameter index out of range"); }
  4. void bind(int index, T value)
  5. void bind(int index, T value)
  6. void bind(int index, T value)
  7. void bind(int index, T value)
  8. void bind(string name, T value)

Parameters

index
Type: int

The index of the parameter (starting from 1).

value
Type: T

The bound _value. The type of value must be compatible with the SQLite types: it must be a boolean or numeric type, a string, an array, null, or a Nullable!T where T is any of the previous types.

Meta