When calling a query in Laravel 5.2, it shows me
BadMethodCallException in Builder.php line 2405: Call to undefined method Illuminate\Database\Query\Builder::getTest()
The query is below:
$record = self::leftJoin("$customersTable as customers", 'customers.email', '=', "{$this->table}.email")
->whereRaw($where)
->where(function ($record) use ($criteria, $search_type, $persist){
$record->getTest($record, $criteria, $search_type, $persist);
});
->orderBy($sort_by, $sort_dir)
->skip($offset)
->take($limit)
->get();
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2vzhVFk
via IFTTT
Aucun commentaire:
Enregistrer un commentaire