Overview of sqlgen
mainsqlgen is a modern, type-safe ORM and SQL query generator for C++20. It is inspired by SQLAlchemy (Python) and Diesel (Rust), providing a fluent, composable interface for database operations.
Key features include:
- Type Safety: Compile-time validation of table schemas and queries.
- SQL Injection Protection: Built-in input validation and parameterized queries.
- Composable Queries: A fluent interface for building complex queries.
- High Performance: Efficient batch operations and prepared statements.
- Reflection Integration: Tightly integrated with reflect-cpp for seamless serialization and deserialization.
It is designed to enable reliable and efficient ETL pipelines by combining C++20 features with high-performance database backends.