sqlite_load_extension

mIRC SQLite

sqlite_load_extension
Loads a dynamic extension.
Syntax
$sqlite_load_extension ( conn, filename [, entrypoint ] )
/sqlite_load_extension conn filename [ entrypoint ]
Parameters
conn
The connection identifier.
filename
The filename of the extension.
entrypoint
The entrypoint of the extension Optional, see remarks for details.
Return Value
1 on success, or $null if there was an error.
Remarks
This function loads a dynamic extension filename. Dynamic extensions are useful for creating efficient custom functions and virtual table modules.
The optional parameter entrypoint specifies the initialization function within the extension. If omitted, the entrypoint will default to sqlite3_extension_init, which is recommended. See SQLite Wiki's Loadable Extensions article for details and more information.

NOTE. The loadable extension API, as well as the virtual table API, is still beta in SQLite, hence if there are any changes in the API in the future, the changes might also reflect in mSQLite.