sqliteCompileOptionUsed

Checks whether the underlying SQLite library was compiled with a specific compile-time option. This function corresponds to the sqlite_compileoption_used(X) SQL function.

It is useful for verifying if a particular feature (e.g., "ENABLE_FTS5", "THREADSAFE=1") is enabled in the current SQLite build. The option name is case-sensitive.

Return

true if the specified option was used during the SQLite library's compilation, false otherwise.

Author

MOHAMMAD AZIM ANSARI

Parameters

option

The name of the compile-time option to check (e.g., "ENABLE_JSON1").

See also