mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-05-04 01:49:08 -05:00
Streamlined type traits a bit
This commit is contained in:
@@ -59,7 +59,7 @@ namespace sqlpp
|
||||
template<typename Database, typename... Tables>
|
||||
struct from_t
|
||||
{
|
||||
using _traits = make_traits<no_value_t, ::sqlpp::tag::from>;
|
||||
using _traits = make_traits<no_value_t, ::sqlpp::tag::is_from>;
|
||||
using _recursive_traits = make_recursive_traits<Tables...>;
|
||||
using _is_dynamic = is_database<Database>;
|
||||
|
||||
@@ -125,7 +125,7 @@ namespace sqlpp
|
||||
|
||||
struct no_from_t
|
||||
{
|
||||
using _traits = make_traits<no_value_t, ::sqlpp::tag::noop>;
|
||||
using _traits = make_traits<no_value_t, ::sqlpp::tag::is_noop>;
|
||||
using _recursive_traits = make_recursive_traits<>;
|
||||
|
||||
// Data
|
||||
|
||||
Reference in New Issue
Block a user