Skip to content

Commit

Permalink
fix typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
aurewill-gavel committed Jan 6, 2024
1 parent b7f51ea commit 539c6b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ class UserFilter extends ModelFilter
##### Adding Relation Values To Filter

Sometimes, based on the value of a parameter you may need to push data to a relation filter. The `push()` method does just this.
It accepts one argument as an array of key value pairs or to arguments as a key value pair `push($key, $value)`.
It accepts one argument as an array of key value pairs or two arguments as a key value pair `push($key, $value)`.
Related models are filtered AFTER all local values have been executed you can use this method in any filter method.
This avoids having to query a related table more than once. For Example:

Expand Down

0 comments on commit 539c6b7

Please sign in to comment.