mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-05-03 09:29:39 -05:00
Started to replace serializer_t
This commit is contained in:
@@ -36,6 +36,7 @@ int As(int, char*[])
|
||||
const auto foo = test::TabFoo{};
|
||||
const auto bar = test::TabBar{};
|
||||
|
||||
compare(__LINE__, foo, "tab_foo");
|
||||
compare(__LINE__, foo.omega.as(cheese), "tab_foo.omega AS cheese");
|
||||
compare(__LINE__, (foo.omega + 17).as(cheese), "(tab_foo.omega+17) AS cheese");
|
||||
compare(__LINE__, (foo.omega - 17).as(cheese), "(tab_foo.omega - 17) AS cheese");
|
||||
|
||||
Reference in New Issue
Block a user