rbock/sqlpp11
A type safe SQL template library for C++ observed · 2026-08-28
Health v2 · maintenance only
68/100
- Activity 79
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4768
- days_rel: n/a
- days_push: 131
- n_releases_24m: 0
Adoption not part of the score
2625 stars · 361 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
sqlpp11 is a type-safe embedded domain specific language (EDSL) library for C++ that lets developers define tables and columns as types and construct SQL queries checked at compile time. It includes connectors for MariaDB, MySQL, PostgreSQL, sqlite3, and sqlcipher, though new development has moved to its successor sqlpp23.
Use cases
- write type-safe SQL queries in C++
- catch SQL syntax and type errors at compile time
- query databases without building SQL strings manually
- map query results to typed C++ structs
- support multiple database backends with one query API
- construct dynamic SQL queries at runtime
When to choose
- you want compile-time validation of SQL queries in C++
- you prefer typed result structs over string arrays from raw database drivers
- you need a vendor-neutral query layer with pluggable database connectors
- you are maintaining an existing C++ codebase already using sqlpp11
When to avoid
- you are starting a new C++ project - use sqlpp23 instead
- you need runtime flexibility over strict compile-time checking for most queries
- your project does not use C++11 or later
- you need an ORM with migrations and schema management rather than a query DSL
Facets
library · maturity maintenance
database-driver orm database databases developer-tools backend cpp cross-platform windows sql edsl type-safe query-builder mariadb mysql postgresql sqlite3 sqlcipher compile-time-checking linux macos
1 source
- readme: https://github.com/rbock/sqlpp11 · fetched 2026-08-28 · 542064349658
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rbock/sqlpp11 | main | 68 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem