bindInt function

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

Bind a Statement iStmt with a integer value at the given index.

Implementation

int bindInt(Statement stmt, int? value, int index) {
  if (value == null) return bindNull(stmt, index);
  if (value.bitLength > 32) return Driver.binder.bind_int64(stmt._stmt!, index, value);
  return Driver.binder.bind_int(stmt._stmt!, index, value);
}