xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_module.3 (revision d16b7486a53dcb8072b60ec6fcb4373a2d0c27b7)
1.Dd December 19, 2018
2.Dt SQLITE3_MODULE 3
3.Os
4.Sh NAME
5.Nm sqlite3_module
6.Nd Virtual Table Object
7.Sh SYNOPSIS
8.Vt struct sqlite3_module ;
9.Sh DESCRIPTION
10This structure, sometimes called a "virtual table module", defines
11the implementation of a virtual tables.
12This structure consists mostly of methods for the module.
13.Pp
14A virtual table module is created by filling in a persistent instance
15of this structure and passing a pointer to that instance to sqlite3_create_module()
16or sqlite3_create_module_v2().
17The registration remains valid until it is replaced by a different
18module or until the database connection closes.
19The content of this structure must not change while it is registered
20with any database connection.
21.Sh SEE ALSO
22.Xr sqlite3 3 ,
23.Xr sqlite3_create_module 3
24