Name

.load — Load a dynamic extension

Common Usage

.load filename [entry-point]

Description

The .load command attempts to load and link an SQLite dynamic extension. If no entry point is given, the default sqlite3_extension_init name will be used.

Extensions that redefine existing SQL functions (including built-in functions) must be loaded using this command. Using the SQL function load_extension() will not work, as an extension cannot redefine an existing function while an SQL statement is being processed (for example, the statement executing the SQL function load_extension()).