SOCI/soci
Official repository of the SOCI - The C++ Database Access Library observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 98
- 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: 5412
- days_rel: n/a
- days_push: 12
- n_releases_24m: 0
Adoption not part of the score
1619 stars · 515 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
SOCI is a C++ database access library that lets developers embed SQL queries naturally in standard C++ code, with object-relational mapping and STL/Boost datatype integration. It uses a plug-in backend architecture supporting DB2, Firebird, MySQL, ODBC, Oracle, PostgreSQL, and SQLite3.
Use cases
- query SQL databases from C++
- map database rows to C++ objects
- access Oracle from C++
- use SQLite in a C++ application
- write database-agnostic C++ code with pluggable backends
- bind Boost and user-defined types to SQL queries
When to choose
- you want a lightweight, natural SQL interface in standard C++
- you need to support multiple database backends with one API
- you want ORM-like row mapping without a heavy framework
When to avoid
- you need a full-featured ORM with migrations and schema management
- your project is not C++ or uses a database without a SOCI backend
- you prefer header-only or async-first database libraries
Facets
library · maturity stable
database database-driver orm databases developer-tools backend cpp cross-platform windows sql database-access oracle postgresql mysql sqlite3 odbc firebird db2 boost linux macos
3 sources
- readme: https://github.com/SOCI/soci · fetched 2026-08-28 · 77727026c5e2
- homepage: http://soci.sourceforge.net/ · fetched 2026-08-29 · 6f9096ce9d49
- site_page: https://soci.sourceforge.net/doc/index.html · fetched 2026-08-29 · 4ad6b1efa02a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| SOCI/soci | main | 76 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem