# qicosmos/ormpp

modern C++ ORM, C++17, support mysql, postgresql,sqlite

Repository: https://github.com/qicosmos/ormpp
Canonical: https://ross.abutalabs.com/products/ormpp
Language: C++
License: Apache-2.0
License Family: permissive
Last push: 2026-08-26T14:03:17+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 63, longevity 100
- inputs: {"age_days": 3224, "days_push": 7, "days_rel": 35, "gap_med": 206.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1512, forks 301 (observed 2026-08-28T04:04:56.116331+00:00)

## What it is
ormpp is a modern C++17 header-only ORM library that provides a unified API for MySQL, PostgreSQL, and SQLite. It uses compile-time reflection to map C++ structs to database tables, with type-safe chained query building, connection pooling, and async MySQL support.

## Use cases
- map C++ structs to database tables without writing SQL boilerplate
- switch between mysql, postgresql, and sqlite with a unified API
- build type-safe SQL queries with chained calls
- pool database connections with health checks
- run async non-blocking MySQL queries
- encrypt SQLite databases with SQLCipher

## When to choose
- you want a header-only C++ ORM with no build step
- you need to support multiple databases behind one interface
- you prefer compile-time reflection over runtime ORM overhead
- you want type-safe query construction checked at compile time

## When to avoid
- you need databases other than mysql, postgresql, or sqlite
- you need a mature ORM with extensive tooling and migrations like heavier frameworks
- your project cannot use C++17 or newer compilers

## Facets
- artifact type: library
- maturity: active
- function: orm, database-driver, serialization
- domain: databases, backend, developer-tools
- platform: windows, cpp, cross-platform
- tags: header-only, mysql, postgresql, sqlite, compile-time-reflection, connection-pool, async-mysql, sqlcipher, aop, c++17, linux, macos

## Member repositories
- qicosmos/ormpp (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:56.116331+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:20.559960+00:00, confidence not recorded.
  - readme: https://github.com/qicosmos/ormpp (fetched 2026-08-28T04:04:56.116331+00:00, sha f96bbba6d9ad)
- Data as of 2026-08-30T08:39:29.467469+00:00.
