Added a table consistency checks to several dynamic methods

This commit is contained in:
rbock
2014-04-22 20:46:32 +02:00
parent 1f3e611fdf
commit 0ffd93108b
15 changed files with 89 additions and 17 deletions

View File

@@ -72,6 +72,11 @@ namespace sqlpp
using _new_statement_t = typename _policies_insert_t<Needle, Replacement, Table, InsertValueList>::type;
using _table_set = typename _table_t::_table_set;
using _known_tables = detail::make_joined_set_t<typename _table_t::_table_set>;
template<typename Expression>
using _no_unknown_tables = detail::is_subset_of<typename Expression::_table_set, _known_tables>;
};
}