I am using MongoDB library in Laravel 5.3. I have two collections in MongoDB and I want to make a hasMany relation b/w them.
Laravel 5.3
MongoDB
hasMany
Yep, you need to use belongsToMany instead of hasMany in this case...