bindBool function
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);
}