Skip to content

Commit

Permalink
Merge push_sql
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela committed Jun 20, 2022
1 parent f6721a3 commit a7c70e4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions store/postgres/src/relational_queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -989,9 +989,7 @@ impl<'a> QueryFilter<'a> {
let child_prefix = "i.";
let parent_prefix = "c.";

out.push_sql("exists (select 1");

out.push_sql(" from ");
out.push_sql("exists (select 1 from ");
out.push_sql(child_table.qualified_name.as_str());
out.push_sql(" as i");

Expand Down

0 comments on commit a7c70e4

Please sign in to comment.