Statement.bind

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

  1. void bind(int index, T value)
    struct Statement
    private package(d2sqlite3) public
    void
    bind
    (
    T
    )
    (
    int index
    ,)
  2. void bind(string name, T value)

Parameters

index int

The index of the parameter (starting from 1).

value 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