Skip to content

Commit

Permalink
try to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zorancv committed Dec 5, 2023
1 parent fbf4a7e commit 6f30b89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion graph/src/data/store/id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ impl<'a> IdRef<'a> {
}
}

pub fn push_bind_param(&'a self, out: &mut AstPass<'_, 'a, Pg>) -> QueryResult<()> {
pub fn push_bind_param<'b>(&'b self, out: &mut AstPass<'_, 'b, Pg>) -> QueryResult<()> {
match self {
IdRef::String(s) => out.push_bind_param::<Text, _>(*s),
IdRef::Bytes(b) => out.push_bind_param::<Binary, _>(*b),
Expand Down
2 changes: 1 addition & 1 deletion store/postgres/src/relational_queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2877,7 +2877,7 @@ impl<'a> FilterWindow<'a> {

out.push_sql("from (values ");
for i in 0..self.ids.len() {
let parent_id = self.ids.index(i);
let parent_id: IdRef<'b> = self.ids.index(i);
let child_ids = &child_ids[i];
if i > 0 {
out.push_sql(", (");
Expand Down

0 comments on commit 6f30b89

Please sign in to comment.