Split up the parsing module

This commit is contained in:
Dr. Patrick Urbanke
2025-04-09 09:36:17 +02:00
parent 3b7c88c73b
commit 2beeb9fe8d
23 changed files with 83 additions and 77 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
#include <rfl/json.hpp>
#include <sqlgen.hpp>
#include <sqlgen/parsing/to_insert.hpp>
#include <sqlgen/transpilation/to_insert.hpp>
namespace test_to_insert {
@@ -14,7 +14,7 @@ struct TestTable {
};
TEST(general, test_to_insert) {
const auto insert_stmt = sqlgen::parsing::to_insert<TestTable>();
const auto insert_stmt = sqlgen::transpilation::to_insert<TestTable>();
const std::string expected =
R"({"table":{"name":"TestTable"},"columns":["field1","field2","id","nullable"]})";