Module sqlite_loadable::scalar
source · Expand description
Define scalar functions on sqlite3 database connections.
Structs
Represents the possible flag values that can be passed into sqlite3_create_function_v2
or sqlite3_create_window_function, as the 4th “eTextRep” parameter.
Includes both the encoding options (utf8, utf16, etc.) and function-level parameters
(deterministion, innocuous, etc.).
Functions
Defines a new scalar function on the given database connection.
Defines a new scalar function, but with the added ability to pass in an arbritary
application “pointer” as any rust type. Can be accessed in the callback
function as the 3rd argument, as a reference.
https://www.sqlite.org/c3ref/create_function.html#:~:text=The%20fifth%20parameter%20is%20an%20arbitrary%20pointer.