Small. Fast. Reliable.
Choose any three.

About Sitemap Documentation Download License News Developers Support

## SQLite C Interface

## Register A Virtual Table Implementation

>     int sqlite3_create_module(
>       sqlite3 *db,               /* SQLite connection to register module with */
>       const char *zName,         /* Name of the module */
>       const sqlite3_module *p,   /* Methods for the module */
>       void *pClientData          /* Client data for xCreate/xConnect */
>     );

Important: This interface is experimental and is subject to change without notice.

This routine is used to register a new virtual table module name. Module names must be registered before creating a new virtual table using the module, or before using a preexisting virtual table for the module.

The module name is registered on the database connection specified by the first parameter. The name of the module is given by the second parameter. The third parameter is a pointer to the implementation of the virtual table module. The fourth parameter is an arbitrary client data pointer that is passed through into the xCreate and xConnect methods of the virtual table module when a new virtual table is be being created or reinitialized.

This interface has exactly the same effect as calling sqlite3_create_module_v2() with a NULL client data destructor.

See also lists of Objects, Constants, and Functions.

This page last modified 2009/08/19 14:11:24 UTC