class DuckDB::PreparedStatement

def bind_uint16(index, val)

The second argument value is to expected Integer value between 0 to 65535.
The index of first parameter is 1 not 0.
The first argument is index of parameter.
binds i-th parameter with SQL prepared statement.
def bind_uint16(index, val)
  return _bind_uint16(index, val) if val.between?(0, 65_535)
  raise DuckDB::Error, "can't bind uint16(bind_uint16) to `#{val}`. The `#{val}` is out of range 0..65535."
end