Name

sqlite3_db_config() — Advanced configuration of a database connection [EXP]

Definition

int sqlite3_db_config( sqlite3* db, int option, ... );
db

A database connection.

option

The configuration option to change.

Additional Parameters

Additional parameters are determined by the given configuration option.

Returns

An SQLite result code.

Description

This function configures database connections. It must be called immediately following a call to one of the sqlite3_open_xxx() functions.

For more information on the currently supported configuration options, see http://www.sqlite.org/c3ref/c_dbconfig_lookaside.html.

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.