added returning to update statement and added error code implementation for query

This commit is contained in:
2026-02-27 16:29:49 +01:00
parent 626eae1ac8
commit 1e78430855
17 changed files with 172 additions and 26 deletions
+3 -3
View File
@@ -142,9 +142,9 @@ TEST_CASE("Create sql query data for entity with eager belongs to", "[query][ent
query_context qc;
size_t index{0};
criteria_evaluator evaluator(db.dialect(), qc);
for (const auto & [join_table, clause] : data.joins) {
REQUIRE(join_table->table_name() == expected_join_data[index].first);
REQUIRE(evaluator.evaluate(*clause) == expected_join_data[index].second);
for (const auto &join : data.joins) {
REQUIRE(join.join_table->table_name() == expected_join_data[index].first);
REQUIRE(evaluator.evaluate(*join.condition) == expected_join_data[index].second);
++index;
}