mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-01 18:51:15 -06:00
Made dynamic select column list a bit more customization friendly
See https://github.com/matthijs/sqlpp11-connector-postgresql/issues/8
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2015, Roland Bock
|
||||
* Copyright (c) 2013-2016, Roland Bock
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <sqlpp11/no_name.h>
|
||||
#include <sqlpp11/named_interpretable.h>
|
||||
|
||||
namespace sqlpp
|
||||
@@ -56,13 +57,7 @@ namespace sqlpp
|
||||
template <>
|
||||
struct dynamic_select_column_list<void>
|
||||
{
|
||||
struct _names_t
|
||||
{
|
||||
static constexpr size_t size()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
using _names_t = no_name_t;
|
||||
_names_t _dynamic_expression_names;
|
||||
|
||||
static constexpr bool empty()
|
||||
|
||||
Reference in New Issue
Block a user