-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
enhancementNew feature or requestNew feature or requestmajorTagged for a future major releaseTagged for a future major release
Milestone
Description
We need to look into adding WhereNested in the query builder. This should work similar to the whereIn and that the resulting query needs to be distributed appropriately based on the current find request.
Some tests and their resulting find requests:
User::where('age', '>', 10)
->where(function($query) {
$query->where('name_first', 'michael')
->orWhere('name_last', 'deck');
});
Find Requests:
[
[
'age' => '>10',
'name_first' => 'michael'
],
[
'age' => '>10',
'name_last' => 'deck',
]
]
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestmajorTagged for a future major releaseTagged for a future major release