sqlite3_create_function

Create new user functions.

sqlite3_create_function()

Ksqlite

This function differs from sqlite3_create_function_v2() in the destroy parameter only. As Ksqlite internally associates some resources with the function that need to be clenaed up once the function is dropped, sqlite3_create_function_v2() is used in place of sqlite3_create_function(). That being said, the semantic of both functions is the same as stated by SQLite.