0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00

Fixed a few missing types

This commit is contained in:
rbock 2014-04-22 22:39:25 +02:00
parent f47ef75c24
commit eef974478c
6 changed files with 15 additions and 0 deletions

View File

@ -44,6 +44,8 @@ namespace sqlpp
using _is_named_expression = std::true_type;
};
using _table_set = typename Expr::_table_set;
struct _name_t
{
static constexpr const char* _get_name() { return "AVG"; }

View File

@ -45,6 +45,8 @@ namespace sqlpp
using _is_named_expression = std::true_type;
};
using _table_set = typename Expr::_table_set;
struct _name_t
{
static constexpr const char* _get_name() { return "COUNT"; }

View File

@ -43,6 +43,8 @@ namespace sqlpp
using _is_named_expression = std::true_type;
};
using _table_set = typename Select::_table_set;
struct _name_t
{
static constexpr const char* _get_name() { return "EXISTS"; }

View File

@ -43,6 +43,8 @@ namespace sqlpp
using _is_named_expression = std::true_type;
};
using _table_set = typename Expr::_table_set;
struct _name_t
{
static constexpr const char* _get_name() { return "MAX"; }

View File

@ -43,6 +43,8 @@ namespace sqlpp
using _is_named_expression = std::true_type;
};
using _table_set = typename Expr::_table_set;
struct _name_t
{
static constexpr const char* _get_name() { return "MIN"; }

View File

@ -183,6 +183,11 @@ namespace sqlpp
select_column_list_t& operator=(select_column_list_t&&) = default;
~select_column_list_t() = default;
static constexpr size_t static_size()
{
return size::value;
}
template<typename Policies>
struct _methods_t
{