Skip to content

Commit

Permalink
Merge pull request #895 from bradjones1/patch-1
Browse files Browse the repository at this point in the history
[Docs] Update "Relationship filtering" section in querying docs
  • Loading branch information
dgeb authored Dec 19, 2021
2 parents 1e5f3e9 + 0e1cc21 commit 8fa9703
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions website/docs/querying-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,10 @@ const denserThanEarth = orbit.cache.query((q) => {
3. the right hand value:
This is a value that will remain constant for the entirety of the filter. This value determines, given the operation, which records will be returned and which will not.
### Comparison operators for filtering
There are two different kinds of filtering. Filtering on attribute values and filtering on relationship values.
Both have their own comparison operators.
#### Attribute filtering
### Attribute filtering
Attribute filtering looks like the following:
Expand All @@ -271,7 +269,7 @@ For attribute filtering, the following comparison operators are available.
- `gte`: alias for the `>=` operator.
- `lte`: alias for the `<=` operator.
#### Relationship filtering
### Relationship filtering
Relationship filtering has two types:
Expand Down

0 comments on commit 8fa9703

Please sign in to comment.