SQLite sqlite_compileoption_used() Function
The SQLite sqlite_compileoption_used() function checks whether SQLite was built with the specified compile-time option.
Syntax
Here is the syntax of the SQLite sqlite_compileoption_used() function:
sqlite_compileoption_used(x)
Parameters
x-
Required. A name representing a compile-time option.
Return value
The SQLite sqlite_compileoption_used(x) function returns 1 or 0, depending on whether SQLite was built with compile-time options x.
Examples
This example shows the basic usage of the SQLite typeof() function.
To check whether the compile-time option ATOMIC_INTRINSICS was used when building SQLite, use the following statement:
SELECT sqlite_compileoption_used('ATOMIC_INTRINSICS');
sqlite_compileoption_used('ATOMIC_INTRINSICS')
----------------------------------------------
1