bindBool function

int bindBool(
  1. Statement stmt,
  2. bool? value,
  3. int index
)

Bind a Statement stmt with a bool value at the given index.

Implementation

int bindBool(Statement stmt, bool? value, int index) {
  if (value == null) return bindNull(stmt, index);
  return Driver.binder.bind_int(stmt._stmt!, index, value ? 1 : 0);
}