Registry / database / sqlitecpp

sqlitecpp

JSON →
library3.3.3vcpkgunverified

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

vcpkg install sqlitecpp
INSTALL
IMPORT
SIG · SQLITECPP
S
sqlitecpp
databasecppv3.3.3
harness data pending
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.

SQLiteCpp/SQLiteCpp.h
#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 issues
gotchaSQLiteCpp requires linking against the SQLite3 library; ensure you have the sqlite3 package installed.
fix
Add sqlite3 as a dependency in vcpkg.json or install it via vcpkg.
affects: all
Upgrade
Version history
3.3.3latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Meta
1
OpenAI (training)
1
Resources

No resource links recorded.

sqlitecpp — pip install sqlitecpp · libregistry