Open
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',
]
]