Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Dec 17, 2024
1 parent 0abc2e8 commit 06e557f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/torii/grpc/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -844,8 +844,10 @@ impl DojoWorld {
&member_clause.value.clone().ok_or(QueryError::MissingParam("value".into()))?,
&mut bind_values,
)?;
let mut where_clause =
format!("[{}].[{}] {comparison_operator} {value}", member_clause.model, member_clause.member);
let mut where_clause = format!(
"[{}].[{}] {comparison_operator} {value}",
member_clause.model, member_clause.member
);
if entity_updated_after.is_some() {
where_clause += &format!(" AND {table}.updated_at >= ?");
}
Expand Down

0 comments on commit 06e557f

Please sign in to comment.