*The belongsToMany relation will not use a pivot "table", but will push id's to a __related_ids__ attribute instead.*
Example:
use Jenssegers\Mongodb\Model as Eloquent;
...
...
@@ -295,6 +293,19 @@ And the inverse relation:
}
The belongsToMany relation will not use a pivot "table", but will push id's to a __related_ids__ attribute instead. This makes the second parameter for the belongsToMany method useless. If you want to define custom keys for your relation, set it to `null`:
Other relations are not yet supported, but may be added in the future. Read more about these relations on http://four.laravel.com/docs/eloquent#relationships