some improvements to select_query_builder and started insert_query_builder
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "matador/object/many_to_many_relation.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
namespace matador::test {
|
||||
struct recipe;
|
||||
@@ -39,10 +40,14 @@ struct recipe {
|
||||
object::collection<object::object_ptr<ingredient> > ingredients{};
|
||||
|
||||
recipe() = default;
|
||||
|
||||
recipe(const unsigned int id, std::string name)
|
||||
: id(id), name(std::move(name)) {
|
||||
}
|
||||
recipe(const unsigned int id, std::string name, std::vector<object::object_ptr<ingredient>> ings)
|
||||
: id(id)
|
||||
, name(std::move(name))
|
||||
, ingredients(std::move(ings)){
|
||||
}
|
||||
|
||||
template<class Operator>
|
||||
void process(Operator &op) {
|
||||
|
||||
Reference in New Issue
Block a user