Files
sqlgen/docs
Dr. Patrick Urbanke fd1d8cd78a Added sqlgen::Flatten
2025-05-07 04:41:40 +02:00
..
2025-05-07 04:18:10 +02:00
2025-05-07 04:18:10 +02:00
2025-05-07 04:18:10 +02:00
2025-05-07 04:41:40 +02:00
2025-05-07 04:18:10 +02:00
2025-05-07 04:18:10 +02:00
2025-05-07 04:18:10 +02:00

Documentation

Basics

Defining tables - How to define tables using C++ structs.

sqlgen::read - How to read data from a database.

sqlgen::write - How to write data to a database.

sqlgen::Result - How sqlgen handles errors.

sqlgen::PrimaryKey - How to define primary keys in sqlgen.

sqlgen::Timestamp - How timestamps work in sqlgen.

sqlgen::Varchar - How varchars work in sqlgen.

sqlgen::Flatten - How to "inherit" fields from other structs.

sqlgen::Literal - How to define fields that only allow for a fixed set of values.

Supported databases

postgres - How to interact with PostgreSQL or a related database (Redshift, Aurora, Greenplum...).

sqlite - How to interact with SQLite3.