mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-05-05 10:49:14 -05:00
Replaced recursive traits with local traits which are evaluated recursively
Ok, that sounds weird... Earlier, each node in the SQL tree had a struct containing all recursive traits. This is now gone. It only contains a reference to all sub nodes and its own specific traits.
This commit is contained in:
@@ -61,7 +61,7 @@ namespace sqlpp
|
||||
struct from_t
|
||||
{
|
||||
using _traits = make_traits<no_value_t, tag::is_from>;
|
||||
using _recursive_traits = make_recursive_traits<Tables...>;
|
||||
using _nodes = std::tuple<Tables...>;
|
||||
using _is_dynamic = is_database<Database>;
|
||||
|
||||
// Data
|
||||
@@ -125,7 +125,7 @@ namespace sqlpp
|
||||
struct no_from_t
|
||||
{
|
||||
using _traits = make_traits<no_value_t, tag::is_noop>;
|
||||
using _recursive_traits = make_recursive_traits<>;
|
||||
using _nodes = std::tuple<>;
|
||||
|
||||
// Data
|
||||
using _data_t = no_data_t;
|
||||
|
||||
Reference in New Issue
Block a user