mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-16 04:47:18 +08:00
More moves
This commit is contained in:
parent
b9eca7db17
commit
68a3265fdc
@ -28,7 +28,7 @@
|
||||
|
||||
#include <sqlpp11/core/operator/enable_comparison.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/core/detail/type_set.h>
|
||||
|
||||
namespace sqlpp
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include <sqlpp11/core/interpret_tuple.h>
|
||||
#include <sqlpp11/core/logic.h>
|
||||
#include <sqlpp11/core/parameter_list.h>
|
||||
#include <sqlpp11/core/query/result_row.h>
|
||||
#include <sqlpp11/core/clause/select_flags.h>
|
||||
#include <sqlpp11/core/query/statement_fwd.h>
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include <sqlpp11/core/query/statement.h>
|
||||
#include <sqlpp11/core/database/connection.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
#include <sqlpp11/core/parameter_list.h>
|
||||
#include <sqlpp11/core/database/prepared_insert.h>
|
||||
#include <sqlpp11/core/default_value.h>
|
||||
#include <sqlpp11/core/noop.h>
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include <sqlpp11/core/query/statement.h>
|
||||
#include <sqlpp11/core/database/connection.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
#include <sqlpp11/core/parameter_list.h>
|
||||
#include <sqlpp11/core/database/prepared_remove.h>
|
||||
#include <sqlpp11/core/noop.h>
|
||||
#include <sqlpp11/core/clause/from.h>
|
||||
|
@ -205,13 +205,13 @@ namespace sqlpp
|
||||
template <typename Db, typename Composite>
|
||||
auto _prepare(Db& db, const Composite& composite) const -> prepared_select_t<Db, _statement_t, Composite>
|
||||
{
|
||||
return {make_parameter_list_t<Composite>{}, db.prepare_select(composite)};
|
||||
return {{}, db.prepare_select(composite)};
|
||||
}
|
||||
|
||||
template <typename Db>
|
||||
auto _prepare(Db& db) const -> prepared_select_t<Db, _statement_t>
|
||||
{
|
||||
return {make_parameter_list_t<_statement_t>{}, db.prepare_select(_get_statement())};
|
||||
return {{}, db.prepare_select(_get_statement())};
|
||||
}
|
||||
};
|
||||
};
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include <sqlpp11/core/interpret_tuple.h>
|
||||
#include <sqlpp11/core/logic.h>
|
||||
#include <sqlpp11/core/parameter_list.h>
|
||||
#include <sqlpp11/core/query/result_row.h>
|
||||
#include <sqlpp11/core/query/statement_fwd.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include <sqlpp11/core/query/statement.h>
|
||||
#include <sqlpp11/core/database/connection.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
#include <sqlpp11/core/parameter_list.h>
|
||||
#include <sqlpp11/core/database/prepared_update.h>
|
||||
#include <sqlpp11/core/clause/single_table.h>
|
||||
#include <sqlpp11/core/clause/update_list.h>
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include <sqlpp11/core/interpret_tuple.h>
|
||||
#include <sqlpp11/core/logic.h>
|
||||
#include <sqlpp11/core/parameter_list.h>
|
||||
#include <sqlpp11/core/query/statement_fwd.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
#include <sqlpp11/core/unconditional.h>
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include <sqlpp11/core/interpret_tuple.h>
|
||||
#include <sqlpp11/core/logic.h>
|
||||
#include <sqlpp11/core/no_data.h>
|
||||
#include <sqlpp11/core/parameter_list.h>
|
||||
#include <sqlpp11/core/query/policy_update.h>
|
||||
#include <sqlpp11/core/query/statement_fwd.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sqlpp11/core/parameter_list.h>
|
||||
#include <sqlpp11/core/database/parameter_list.h>
|
||||
#include <sqlpp11/core/result.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sqlpp11/core/parameter_list.h>
|
||||
#include <sqlpp11/core/database/parameter_list.h>
|
||||
#include <sqlpp11/core/result.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sqlpp11/core/parameter_list.h>
|
||||
#include <sqlpp11/core/database/parameter_list.h>
|
||||
#include <sqlpp11/core/result.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sqlpp11/core/parameter_list.h>
|
||||
#include <sqlpp11/core/database/parameter_list.h>
|
||||
#include <sqlpp11/core/result.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sqlpp11/core/parameter_list.h>
|
||||
#include <sqlpp11/core/database/parameter_list.h>
|
||||
#include <sqlpp11/core/result.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include <stddef.h>
|
||||
#include <sqlpp11/core/wrong.h>
|
||||
#include <sqlpp11/core/logic.h>
|
||||
#include <sqlpp11/core/name_tag.h>
|
||||
#include <sqlpp11/core/name/name_tag.h>
|
||||
|
||||
namespace sqlpp
|
||||
{
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
#include <sqlpp11/core/field_spec.h>
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/core/basic/verbatim.h>
|
||||
|
||||
namespace sqlpp
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <sqlpp11/core/query/dynamic.h>
|
||||
#include <sqlpp11/core/noop.h>
|
||||
#include <sqlpp11/core/basic/parameter.h>
|
||||
#include <sqlpp11/core/parameter_list.h>
|
||||
#include <sqlpp11/core/database/parameter_list.h>
|
||||
#include <sqlpp11/core/aggregate_function.h>
|
||||
#include <sqlpp11/core/function/trim.h>
|
||||
#include <sqlpp11/core/operator/case.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sqlpp11/core/char_sequence.h>
|
||||
#include <sqlpp11/core/name/char_sequence.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
|
||||
#define SQLPP_ALIAS_PROVIDER(name) \
|
@ -26,7 +26,7 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sqlpp11/core/char_sequence.h>
|
||||
#include <sqlpp11/core/name/char_sequence.h>
|
||||
#include <sqlpp11/core/detail/type_set.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <sqlpp11/core/noop.h>
|
||||
#include <sqlpp11/core/parameter_list.h>
|
||||
#include <sqlpp11/core/database/parameter_list.h>
|
||||
#include <sqlpp11/core/query/policy_update.h>
|
||||
#include <sqlpp11/core/database/prepared_select.h>
|
||||
#include <sqlpp11/core/result.h>
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <sqlpp11/core/chrono.h>
|
||||
#include <sqlpp11/core/name_tag.h>
|
||||
#include <sqlpp11/core/name/name_tag.h>
|
||||
#include <sqlpp11/core/compat/optional.h>
|
||||
#include <sqlpp11/core/compat/string_view.h>
|
||||
#include <sqlpp11/core/compat/type_traits.h>
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include <sqlpp11/core/clause/insert_value_list.h>
|
||||
#include <sqlpp11/core/clause/into.h>
|
||||
#include <sqlpp11/core/noop.h>
|
||||
#include <sqlpp11/core/parameter_list.h>
|
||||
#include <sqlpp11/core/database/parameter_list.h>
|
||||
#include <sqlpp11/core/database/prepared_insert.h>
|
||||
#include <sqlpp11/core/query/statement.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/core/clause/insert.h>
|
||||
#include <sqlpp11/core/clause/remove.h>
|
||||
#include <sqlpp11/core/clause/update.h>
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include <sqlpp11/core/basic/table.h>
|
||||
#include <sqlpp11/data_types.h>
|
||||
#include <sqlpp11/core/char_sequence.h>
|
||||
#include <sqlpp11/core/name/char_sequence.h>
|
||||
|
||||
namespace test
|
||||
{
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "MockDb.h"
|
||||
#include "Sample.h"
|
||||
#include <iostream>
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/core/database/connection.h>
|
||||
#include <sqlpp11/functions.h>
|
||||
#include <sqlpp11/core/clause/select.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "Sample.h"
|
||||
#include "MockDb.h"
|
||||
#include <sqlpp11/auto_alias.h>
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/core/clause/select.h>
|
||||
#include <sqlpp11/functions.h>
|
||||
#include <sqlpp11/core/database/connection.h>
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <sqlpp11/core/basic/table.h>
|
||||
#include <sqlpp11/core/basic/table_columns.h>
|
||||
#include <sqlpp11/core/type_traits.h>
|
||||
#include <sqlpp11/core/char_sequence.h>
|
||||
#include <sqlpp11/core/name/char_sequence.h>
|
||||
|
||||
namespace test
|
||||
{
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "is_regular.h"
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/core/database/connection.h>
|
||||
#include <sqlpp11/functions.h>
|
||||
#include <sqlpp11/core/clause/select.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "MockDb.h"
|
||||
#include "Sample.h"
|
||||
#include <iostream>
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/core/database/connection.h>
|
||||
#include <sqlpp11/functions.h>
|
||||
#include <sqlpp11/core/clause/select.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "Sample.h"
|
||||
#include "MockDb.h"
|
||||
#include <sqlpp11/core/clause/select.h>
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <iostream>
|
||||
|
||||
namespace greek
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "Sample.h"
|
||||
#include "MockDb.h"
|
||||
#include <sqlpp11/core/clause/select.h>
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <iostream>
|
||||
#include "../../include/test_helpers.h"
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#include <sqlpp11/core/basic/table.h>
|
||||
#include <sqlpp11/data_types.h>
|
||||
#include <sqlpp11/core/char_sequence.h>
|
||||
#include <sqlpp11/core/name/char_sequence.h>
|
||||
|
||||
namespace model
|
||||
{
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include "make_test_connection.h"
|
||||
#include "Tables.h"
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/functions.h>
|
||||
#include <sqlpp11/core/clause/insert.h>
|
||||
#include <sqlpp11/mysql/database/connection.h>
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include "make_test_connection.h"
|
||||
#include "Tables.h"
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/functions.h>
|
||||
#include <sqlpp11/core/clause/insert.h>
|
||||
#include <sqlpp11/mysql/database/connection.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "make_test_connection.h"
|
||||
#include "Tables.h"
|
||||
#include <cassert>
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/functions.h>
|
||||
#include <sqlpp11/core/clause/insert.h>
|
||||
#include <sqlpp11/mysql/database/connection.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "make_test_connection.h"
|
||||
#include "Tables.h"
|
||||
#include <cassert>
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/functions.h>
|
||||
#include <sqlpp11/core/clause/insert.h>
|
||||
#include <sqlpp11/mysql/database/connection.h>
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include <sqlpp11/core/basic/table.h>
|
||||
#include <sqlpp11/data_types.h>
|
||||
#include <sqlpp11/core/char_sequence.h>
|
||||
#include <sqlpp11/core/name/char_sequence.h>
|
||||
|
||||
namespace test
|
||||
{
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "make_test_connection.h"
|
||||
#include "Tables.h"
|
||||
#include <cassert>
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/functions.h>
|
||||
#include <sqlpp11/core/clause/insert.h>
|
||||
#include <sqlpp11/mysql/database/connection.h>
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <sqlpp11/core/query/query/custom_query.h>
|
||||
#include <sqlpp11/postgresql/postgresql.h>
|
||||
#include <sqlpp11/core/basic/verbatim.h>
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
|
||||
#include "assertThrow.h"
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include <sqlpp11/core/basic/table.h>
|
||||
#include <sqlpp11/data_types.h>
|
||||
#include <sqlpp11/core/char_sequence.h>
|
||||
#include <sqlpp11/core/name/char_sequence.h>
|
||||
|
||||
namespace test
|
||||
{
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <memory>
|
||||
#include <stdexcept>
|
||||
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/core/query/query/custom_query.h>
|
||||
#include <sqlpp11/postgresql/database/connection.h>
|
||||
#include <sqlpp11/sqlpp11.h>
|
||||
|
@ -24,7 +24,7 @@
|
||||
*/
|
||||
|
||||
#include "TabSample.h"
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/functions.h>
|
||||
#include <sqlpp11/core/clause/insert.h>
|
||||
#include <sqlpp11/core/clause/remove.h>
|
||||
|
@ -24,7 +24,7 @@
|
||||
*/
|
||||
|
||||
#include "Tables.h"
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/functions.h>
|
||||
#include <sqlpp11/core/clause/insert.h>
|
||||
#include <sqlpp11/core/clause/remove.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
#include "Tables.h"
|
||||
#include <cassert>
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/functions.h>
|
||||
#include <sqlpp11/core/clause/insert.h>
|
||||
#include <sqlpp11/core/clause/remove.h>
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include <sqlpp11/core/basic/table.h>
|
||||
#include <sqlpp11/data_types.h>
|
||||
#include <sqlpp11/core/char_sequence.h>
|
||||
#include <sqlpp11/core/name/char_sequence.h>
|
||||
|
||||
namespace test
|
||||
{
|
||||
|
@ -24,7 +24,7 @@
|
||||
*/
|
||||
|
||||
#include <cassert>
|
||||
#include <sqlpp11/core/alias_provider.h>
|
||||
#include <sqlpp11/core/name/alias_provider.h>
|
||||
#include <sqlpp11/core/query/query/custom_query.h>
|
||||
#include <sqlpp11/functions.h>
|
||||
#include <sqlpp11/core/clause/insert.h>
|
||||
|
Loading…
Reference in New Issue
Block a user