Level 24
Laravel has no native support for this.
You can use a package: https://github.com/hoyvoy/laravel-cross-database-subqueries
Hi, I've come across a problem where trying to check existence of relationship with whereHas between entity in the default database and entity that exists in a separate database doesn't work because Laravel still looks for the entity in the default database... does anyone have any idea? Thanks!
Please or to participate in this conversation.