I am using Laravel5.1 with MongoDB in my application.
I have one default database and separate databases for each user.
I want to use relationship between user seperate DB and default DB. I try it using
protected $table = 'default_db_name.table_name';
and i also try the solution from this laravel forum.
http://laravel.io/forum/02-12-2014-many-to-many-relationship-not-working-across-databases.
The Laravel documentation and google dont seem to worked for me.
Any help greatly appreciated
try https://github.com/jenssegers/laravel-mongodb
there you can connect to multiple servers
),