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_limit) {
using namespace sqlgen;
const auto query =
sqlgen::read<std::vector<Person>> | order_by(col<"age">) | limit(2);
sqlgen::read<std::vector<Person>> | order_by("age"_c) | limit(2);
const auto people2 = query(conn).value();