fixed has many and belongs to eager loading via sql join

This commit is contained in:
2025-02-16 19:57:14 +01:00
parent ec96c15905
commit 66d5bc6c86
8 changed files with 157 additions and 84 deletions
+1 -2
View File
@@ -19,8 +19,7 @@ struct book {
unsigned short published_in{};
template<typename Operator>
void process(Operator &op)
{
void process(Operator &op) {
namespace field = matador::access;
field::primary_key(op, "id", id);
field::attribute(op, "title", title, 511);