Registry / database / sqlitecpp

sqlitecpp

JSON →
library3.3.3vcpkgunverified

SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.

database
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; }
Debug
Known footguns
gotchaSQLiteCpp requires linking against the SQLite3 library; ensure you have the sqlite3 package installed.
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.

Agent activity
11 hits · last 30 days
gptbot
3
claudebot
3
Resources

No resource links recorded.