Name
sqlite_compileoption_used() — See if compile-time option was used to build the SQLite library
Common Usage
sqlite_compileoption_used( option_name
)
Description
Given a build directive name as a text
value, the sqlite_compileoption_used()
function returns a
1 if the directive was used when building this instance of the
SQLite library. This function will only indicate if the
directive was used, it will not indicate what (if any) value was
set. If the given directive was not used, or is otherwise
unrecognized, this function will return 0. The SQLITE_
prefix on the directive
name is optional.
Those directives used to set default
values and maximum limits will not be reported. If the directive
has a value associated with it, you can check for a specific
value by searching for the full format
.
If both the name and the value match, a name
=value
1
will be returned.
This SQL function is a wrapper around the C function sqlite3_compileoption_used()
,
and has all of the same limitations and conditions.
See Also
sqlite_compileoption_get(), sqlite3_compileoption_used() [C API, Ap G]
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.