some improvements to select_query_builder and started insert_query_builder

This commit is contained in:
2026-02-08 22:38:11 +01:00
parent a498efd21d
commit 54e6786ceb
10 changed files with 217 additions and 144 deletions
+6 -1
View File
@@ -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) {