Skip to content

Commit

Permalink
Added docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
gent-fella-health committed Oct 16, 2020
1 parent 84687ef commit b267106
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ Nested **has** statements may also be constructed using **"dot"** notation. For

`{base_url}/posts?has[]=comments.votes`

### Querying Relationship Absence

When accessing the records for a model, you may wish to limit your results based on the absence of a relationship. For example, imagine you want to retrieve all blog posts that don't have any comments. To do so, you may pass the name of the relationship to the **doesntHave**:

`{base_url}/posts?doesntHave[]=comments`

### Advanced Eager loading

Expand Down

0 comments on commit b267106

Please sign in to comment.