xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_drop_modules.3 (revision b9988867a8ad969c45a52aa7628bc932ec98d46b)
1.Dd January 24, 2024
2.Dt SQLITE3_DROP_MODULES 3
3.Os
4.Sh NAME
5.Nm sqlite3_drop_modules
6.Nd remove unnecessary virtual table implementations
7.Sh SYNOPSIS
8.In sqlite3.h
9.Ft int
10.Fo sqlite3_drop_modules
11.Fa "sqlite3 *db"
12.Fa "const char **azKeep"
13.Fc
14.Sh DESCRIPTION
15The sqlite3_drop_modules(D,L) interface removes all virtual table modules
16from database connection D except those named on list L.
17The L parameter must be either NULL or a pointer to an array of pointers
18to strings where the array is terminated by a single NULL pointer.
19If the L parameter is NULL, then all virtual table modules are removed.
20.Pp
21.Sh IMPLEMENTATION NOTES
22These declarations were extracted from the
23interface documentation at line 7576.
24.Bd -literal
25SQLITE_API int sqlite3_drop_modules(
26  sqlite3 *db,                /* Remove modules from this connection */
27  const char **azKeep         /* Except, do not remove the ones named here */
28);
29.Ed
30.Sh SEE ALSO
31.Xr sqlite3_create_module 3
32