Name
sqlite3_file_control() — Low-level control of database files
Definition
int sqlite3_file_control( sqlite3* db, const char *name,
int option, void* data );-
db A database connection.
-
name The destination logical database name in UTF-8. This can be
main,temp, or the logical name given toATTACH DATABASE.-
option A configuration option value.
-
data A configuration data value. The exact meaning is typically determined by the value of the
optionparameter.- Returns
An SQLite result code or other value.
Description
This function allows an application to interact with the
low-level file I/O layer within SQLite. The option and data parameters will be passed
to the appropriate VFS (Virtual File System) driver’s xFileControl() function.
See Also
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access