Skip to content

Commit 3ad09bd

Browse files
Update website/src/pages/en/subgraphs/querying/graphql-api.mdx
Co-authored-by: Benoît Rouleau <[email protected]>
1 parent cafe9b0 commit 3ad09bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/pages/en/subgraphs/querying/graphql-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ Metadata fields:
366366
- `block`: Latest block information
367367
- `hasIndexingErrors`: Boolean indicating past indexing errors
368368

369-
> **Note**: When writing queries, it is important to consider the performance impact of using the `or` operator. While `or` can be a useful tool for broadening search results, it can also have significant costs. One of the main issues with `or` is that it can cause queries to slow down. This is because `or` requires the database to scan through multiple indexes, which can be a time-consuming process. To avoid these issues, it is recommended that developers use and operators instead of or whenever possible. This allows for more precise filtering and can lead to faster, more accurate queries.
369+
> **Note**: When writing queries, it is important to consider the performance impact of using the `or` operator. While `or` can be a useful tool for broadening search results, it can also have significant costs. One of the main issues with `or` is that it can cause queries to slow down. This is because `or` requires the database to scan through multiple indexes, which can be a time-consuming process. To avoid these issues, it is recommended that developers use `and` operators instead of `or` whenever possible. This allows for more precise filtering and can lead to faster, more accurate queries.
370370
371371
### GraphQL Filter Operators Reference
372372

0 commit comments

Comments
 (0)