sqlite3 :: StatementEntry :: to_i
Int
If the Sqlite type of this entry is not an integer, it will be CAST
to
integer. If null
, returns 0.
require: self.statement.is_open
# Get this entry as `Int`
#
# If the Sqlite type of this entry is not an integer, it will be `CAST` to
# integer. If `null`, returns 0.
#
# require: `self.statement.is_open`
fun to_i: Int
do
assert statement_closed: statement.is_open
return statement.native_statement.column_int(index)
end
lib/sqlite3/sqlite3.nit:217,2--228,4