yabhq / laravel-scout-mysql-driver

Laravel Scout MySQL Driver
MIT License
522 stars 113 forks source link

Search within multiple tables/models #61

Closed basvandertogt closed 2 years ago

basvandertogt commented 6 years ago

Is it possible to search within multiple tables/models and get the result in a singel collection? I can't find something about it in the manual.

kolotovio commented 6 years ago

Is it possible to search within multiple tables/models and get the result in a singel collection? I can't find something about it in the manual.

For get results in single collection use mysql union. Tutorial is here

zhd4n commented 5 years ago

@kolotovio So need to use laravel query builder without $model->search()?

notflip commented 5 years ago

Has anyone found a solution to this?