Skip to content
This repository was archived by the owner on Sep 27, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions 08-Lucid-ORM/05-Relationships.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,8 @@ const posts = await Post
.fetch()
----

NOTE: In a whereHas closure, you can also filter the result using fields in the pivot table used in a many to many relation.

==== doesntHave
The opposite of the `has` clause:

Expand Down