Application-Defined SQL Functions

sqlite.org

Tin mới

sqlite3_create_function()

Applications that use SQLite can define custom SQL functions that call back into application code to compute their results. The custom SQL function implementations can be embedded in the application code itself, or can b

sqlite3_user_data()

database connection

db → The 1st parameter is always a pointer to the database connection on which the custom SQL function will work. Custom SQL functions are created separately for each database connection. There is no short-hand mechanism

SQLITE_DETERMINISTIC

sqlite3_aggregate_context

sqlite3_context_db_handle

sqlite3_get_auxdata

sqlite3_result_blob

sqlite3_result_subtype

2.1. Common Parameters

Applications that use SQLite can define custom SQL functions that call back into application code to compute their results. The custom SQL function implementations can be embedded in the application code itself, or can b

sqlite3_value() family of interfaces

Applications that use SQLite can define custom SQL functions that call back into application code to compute their results. The custom SQL function implementations can be embedded in the application code itself, or can b

SQLITE_DBCONFIG_TRUSTED_SCHEMA

Invoke sqlite3_db_config(db,SQLITE_DBCONFIG_TRUSTED_SCHEMA,0,0) on each database connection as soon as it is opened. This prevents application-defined functions from being used in places where an attacker might be able t