{"repo":"swordfatih/reflect","free":true,"listed":false,"github":"https://github.com/swordfatih/reflect","clone":"git clone https://github.com/swordfatih/reflect.git","description":"c++26 reflection-first ORM","language":"C++","stars":36,"topics":["cpp","orm","reflection"],"license":null,"category":"databases-storage","readme_excerpt":"reflect reflect is a C++26 reflection-first ORM. Define normal aggregate structs, add small annotations, and Reflect derives table metadata, DDL, type-safe filters, CRUD statements, migrations, validation, and row materialization. It is designed to feel familiar if you have used an ORM before, while staying idiomatic to C++: the C++ model is the source of truth. Status Reflect is pre-1.0. It is usable for experiments and early applications, but the stable V1 line still needs packaging, more migration tooling, and wider backend coverage. Example Core Features - C++26 static reflection model discovery. - SQLite and PostgreSQL backends. - Model annotations for table names, column names, primary keys, auto increment, unique columns, indexes, nullability, defaults, checks, foreign keys, varchar, decimal, text, JSON, UUID, blob, date, time, and timestamp fields. - Generated schema DDL. - CRUD helpers: insert , insert many , find , find one , find many , update , update many , delete many , delete all , count , and exists . - Query builder with typed field predicates and bound parameters. - Relationship helpers: has many , has one , and belongs to . - Transactions with nested savepoints. - Runtime table introspection. - Schema validation and drift reporting. - Additive schema sync and versioned manual migrations. - Opt-in destructive development reset for fast iteration. Schema Validation Reflect can compare your C++ model against the actual database table: For startup checks, prefe","default_branch":null,"files":null,"tree":[],"storefront":"/r/swordfatih","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/swordfatih/reflect/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}