-
Ben Argo authored
With ‘BelongsToMany’ relationships calling the function `Jenssegers\Mongodb\Eloquent\Model::has` can throw an ErrorException with ‘Array to string conversion’. By flattening the collection here we can avoid triggering the exception.
2263bc4f
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Auth | ||
Eloquent | ||
Query | ||
Queue | ||
Relations | ||
Schema | ||
Collection.php | ||
Connection.php | ||
MongodbQueueServiceProvider.php | ||
MongodbServiceProvider.php |