Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit d5bfb1a

Browse files
author
Dekel Barzilay
committed
Updated docs with $modifyEager JSON limitation
1 parent d0a567f commit d5bfb1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Note that all this eager related options are optional.
180180
[`withGraphJoined`](https://vincit.github.io/objection.js/api/query-builder/eager-methods.html#withgraphjoined)
181181
documentation.
182182

183-
- **`$modifyEager`** - filter relation based on a relation's field,
183+
- **`$modifyEager`** - filter relation based on a relation's field. does not support JSON fields.
184184
e.g. `companies.find({ query: { $eager: 'employees', $modifyEager: { employees: { name: 'John' } } } })`
185185

186186
- **`$mergeEager`** - merge an eager expression to `$eager`,

0 commit comments

Comments
 (0)