Skip to content

Commit

Permalink
fix(torii): member clause escaped table name (#2255)
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo authored Aug 5, 2024
1 parent 9eac7cf commit 2b09547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/torii/grpc/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ impl DojoWorld {
table,
entity_relation_column,
Some(&format!(
"{table_name}.{column_name} {comparison_operator} ? ORDER BY {table}.event_id \
"[{table_name}].{column_name} {comparison_operator} ? ORDER BY {table}.event_id \
DESC LIMIT ? OFFSET ?"
)),
None,
Expand Down

0 comments on commit 2b09547

Please sign in to comment.