Closed adiachenko closed 5 years ago
Nested parameter groupings result in Undefined index: column errors. Below is a simplified example of parameter grouping:
Undefined index: column
$query->where(function ($query) { $query->where('votes', '>', 100) ->orWhere('title', '=', 'Admin'); })
The main culprit is Vinelab\NeoEloquent\Eloquent::prefixWheres that doesn't support where clauses of type "Nested". This PR is meant to address the issue.
Vinelab\NeoEloquent\Eloquent::prefixWheres
Nested parameter groupings result in
Undefined index: column
errors. Below is a simplified example of parameter grouping:The main culprit is
Vinelab\NeoEloquent\Eloquent::prefixWheres
that doesn't support where clauses of type "Nested". This PR is meant to address the issue.