Name

sqlite_compileoption_get() — Access list of compile-time options used to build the SQLite library

Common Usage

sqlite_compileoption_get( index )

Description

The sqlite_compileoption_get() function returns a text value that describes one of the build directives used when building this instance of the SQLite library. By iterating over index values (starting with zero), you can view the entire list of directives. Returned values will be in the format directive_name if the directive is a simple on/off flag, or directive_name=value if the directive is used to set a value. The SQLITE_ prefix will not be included in the returned value. If the index is negative or out of range, sqlite_compileoption_get() will return NULL.

Those directives used to set default values and maximum limits will not be reported. If the directive has a value associated with it, the format will be name=value.

This SQL function is a wrapper around the C function sqlite3_compileoption_get(), and has all of the same limitations and conditions.

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.