Name

sqlite3_vfs_find() — Get a VFS module by name

Definition

sqlite3_vfs* sqlite3_vfs_find( const char* name );
name

The name of the VFS module. If NULL, the default VFS module will be returned.

Returns

A reference to a VFS module. If the named module does not exist, a NULL will be returned.

Description

This function is used to search for a specific VFS module by name. This allows a stub or pass-through VFS module to find an underlying VFS implementation.

To use a custom VFS module with a database connection, simply pass the VFS name to sqlite3_open_v2(). Calling this function is not required.

Get Using SQLite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.