added session test with has one relation

This commit is contained in:
Sascha Kühl
2024-04-15 15:54:37 +02:00
parent fb57545cce
commit 4199c5029c
5 changed files with 69 additions and 21 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ void entity_query_builder::push(const std::string &column_name)
void entity_query_builder::append_join(const column &left, const column &right)
{
entity_query_data_.joins.push_back({
{ left.table },
{ right.table },
make_condition(left == right)
});
}