Interested in improving this site? Please check the To Do page.
sqlite.getColumnInt
Retrieve the column value for an integer field
Syntax
sqlite.getColumnInt(queryID, columnNumber)
Params
queryID is the query ID returned by sqlite.compileQuery. columnNumber is the number of the column.
Returns
The integer value in that column (for the current row only)
Examples
numberStates = sqlite.getColumnInt(compiledQuery, i);
Notes
Remember that the first column is 1 in the Frontier routine sqlite.getColumnInt but is a 0 in the original SQLite sqlite3_column_int function.