Added the _c operator

This commit is contained in:
Dr. Patrick Urbanke
2025-05-06 05:13:06 +02:00
parent cfb4f4e0ef
commit b02dfe4f80
12 changed files with 188 additions and 30 deletions

View File

@@ -33,7 +33,7 @@ TEST(sqlite, test_order_by) {
using namespace sqlgen;
const auto query = sqlgen::read<std::vector<Person>> |
order_by(col<"age">, col<"first_name">.desc());
order_by("age"_c, "first_name"_c.desc());
const auto people2 = query(conn).value();