Put the literals into a separate namespace; resolves #31 (#32)

This commit is contained in:
Dr. Patrick Urbanke (劉自成)
2025-07-23 22:32:26 +02:00
committed by GitHub
parent 7b5c849e02
commit 1424d29c5d
100 changed files with 394 additions and 124 deletions

View File

@@ -31,6 +31,7 @@ TEST(sqlite, test_limit) {
sqlgen::write(conn, people1);
using namespace sqlgen;
using namespace sqlgen::literals;
const auto query =
sqlgen::read<std::vector<Person>> | order_by("age"_c) | limit(2);