Open harris21 opened 9 months ago
In the latest Laravel versions, job batching was introduced. It seems that NeoEloquent is not able to run Bus::batch($jobs) as expected.
Bus::batch($jobs)
Try batching a single job, to test it out.
Jobs to be batched and dispatched.
ERROR Call to undefined method Vinelab\NeoEloquent\DatabaseDriver\Drivers\Laudis\ResultSet::current() in vendor/ulobby/neoeloquent/src/Query/Builder.php on line 841. Error Call to undefined method Vinelab\NeoEloquent\DatabaseDriver\Drivers\Laudis\ResultSet::current() at vendor/ulobby/neoeloquent/src/Query/Builder.php:841 837▕ * @return mixed|static 838▕ */ 839▕ public function first($columns = ['*']) 840▕ { ➜841▕ $results = $this->take( 1)->get($columns)->current(); 842▕ 843▕ return (isset($results[ 0]) && count($results[ 0]) > 0) ? $results[ 0]->getProperties() : null; 844▕ } 845▕
Description:
In the latest Laravel versions, job batching was introduced. It seems that NeoEloquent is not able to run
Bus::batch($jobs)
as expected.Steps To Reproduce:
Try batching a single job, to test it out.
Expected result
Jobs to be batched and dispatched.
Actual result