Name
sqlite3_version[] — Static version string
Definition
extern const char sqlite3_version[];
Description
This is not a function, but a static character array that holds
the version string of the SQLite library. This is the same value
returned by sqlite3_libversion(). The version string for
SQLite v3.6.23 is "3.6.23".
The version string for v3.6.23.1 is "3.6.23.1".
This value is also available at compile time as the SQLITE_VERSION macro. By
comparing the macro used at compile time to the sqlite3_version value found in
the current library, an application can verify that it is
linking against the correct version of the library.
See Also
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access