Added verbatim table

This commit is contained in:
Roland Bock
2013-11-16 23:19:37 +01:00
parent 5304e77f4a
commit 8d12d23d67
5 changed files with 117 additions and 1 deletions

View File

@@ -318,7 +318,13 @@ int main()
// Test that select can be called with zero columns if it is used with dynamic columns.
{
auto s = dynamic_select(db).dynamic_columns().add_column(t.alpha);
s.serialize(std::cerr, db);
s.serialize(std::cerr, db); std::cerr << "\n";
}
// Test that verbatim_table compiles
{
auto s = select(t.alpha).from(sqlpp::verbatim_table("my_unknown_table"));
s.serialize(std::cerr, db); std::cerr << "\n";
}