How to solve Missing argument 3 for Rinvex\Repository\Repositories\BaseRepository::join()?
问题 I use this : https://github.com/rinvex/repository My query is like this : $query = $this->store_repository ->join('favorites', function ($join) { $join->on('stores.id', '=', 'favorites.favoritable_id') ->where('favorites.favoritable_type', 'like', 'App\\\Models\\\Store'); }) ->where('stores.status', '=', 1) ->select('stores.id', 'stores.name', 'stores.photo','stores.address'); if($location) $query->where('stores.address', 'like', "%$location%"); if($q) { $query->where('stores.name', 'like', "