fixed compilation

This commit is contained in:
Sascha Kühl
2025-12-16 16:21:09 +01:00
parent 4a19322ef8
commit 9eec5b64fb
10 changed files with 98 additions and 88 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ query::fetchable_query session::build_select_query(entity_query_data &&data) {
.from(*data.root_table)
.join_left(data.joins)
.where(std::move(data.where_clause))
.order_by({data.root_table, data.pk_column_name})
.order_by({data.root_table.get(), data.pk_column_name})
.asc();
}
}
+1 -1
View File
@@ -73,7 +73,7 @@ std::string session_query_builder::build_alias(const char prefix, const unsigned
void session_query_builder::append_join(const query::column &left, const query::column &right) {
using namespace matador::query;
entity_query_data_.joins.push_back({
{right.table()},
right.table(),
std::make_unique<binary_column_criteria>(left, binary_operator::EQUALS, right)
});
}