Results are displayed from SQLite3 functions (at C level ) using the function sqlite3_result_int(and its siblings if other types are returned).
void sqlite3_result_int(sqlite3_context*, int);
Report an error with 0 for the second argument and true with 1 (or another non-zero).
source
share