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:
parent
f47ef75c24
commit
eef974478c
@ -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"; }
|
||||
|
@ -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"; }
|
||||
|
@ -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"; }
|
||||
|
@ -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"; }
|
||||
|
@ -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"; }
|
||||
|
5
include/sqlpp11/vendor/select_column_list.h
vendored
5
include/sqlpp11/vendor/select_column_list.h
vendored
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user