SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
#include <SQLiteCpp/SQLiteCpp.h>
Create a SQLite database, create a table, and insert a row.
#include <SQLiteCpp/Database.h>
#include <iostream>
int main() {
SQLite::Database db("test.db", SQLite::OPEN_READWRITE | SQLite::OPEN_CREATE);
db.exec("CREATE TABLE IF NOT EXISTS test (id INTEGER PRIMARY KEY, value TEXT)");
SQLite::Statement query(db, "INSERT INTO test VALUES (?, ?)");
query.bind(1, 1);
query.bind(2, "hello");
query.exec();
std::cout << "Inserted row successfully\n";
return 0;
}
Upgrade
Version history
Breaking-change detection hasn't run for this library yet.
Audit
Security & dependencies
CVE tracking and dependency tree are planned for a later release.
Resources
No resource links recorded.