mardi 15 septembre 2020

How to use Laravel Scout in multiple models

I am using laravel scout and driver is elastic search. Currently I am searching on one model

App\Models\Admin\Staff::search('com')->get();

How i can search on multiple models i want to search globally on whole application



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire