hoyvoy / laravel-cross-database-subqueries

Eloquent cross database compatibility in subqueries
MIT License
103 stars 45 forks source link

Issue when connecting two databases from different RDS #24

Open nilaysabrewing opened 3 years ago

nilaysabrewing commented 3 years ago

Description:

I have two database. Which are hosted on different RDS servers. When i try to use 'has' function in this. It throw error that table in relation is not found.

Example: I have two tables 1. users and 2. user_logins. Which are there in different DB on different servers. So when i user has on users. it shows user_logins table not found. It is working normal on DB hosted on same RDS.

Please give me proper solutions ASAP.

Thanks