SqliteVtabColumnCallback
The SQLite core invokes this method in order to find the value for the N-th column of the current row. N is zero-based so the first column is numbered 0. The xColumn method may return its result back to SQLite using one oof the following interfaces:
sqlite3_result_blob() sqlite3_result_blob64() sqlite3_result_double() sqlite3_result_int() sqlite3_result_int64() sqlite3_result_null() sqlite3_result_pointer() sqlite3_result_text() sqlite3_result_text16() sqlite3_result_text16le() sqlite3_result_text16be() sqlite3_result_text64() sqlite3_result_value() sqlite3_result_zeroblob() sqlite3_result_zeroblob64()
Functions
Link copied to clipboard
abstract fun apply(cursor: VtabCursor, context: sqlite3_context, columnIndex: Int): SqliteResultCode.OkOrFailure
Details on parameters and result can be found here.