• ricardoaponte's avatar
    Changed compileWhereIn function · 4308f6ca
    ricardoaponte authored
    MongoDB 2.6.0, no longer accepting bson object in the $in clause. To fix this, the values need to be numerically indexed starting from zero and have consecutive values.
    
    Adding array_values fixed this issue.
    
    This fix was not tested on a previous MongoDB version.
    4308f6ca
Name
Last commit
Last update
..
Auth Loading commit data...
Eloquent Loading commit data...
Query Loading commit data...
Relations Loading commit data...
Schema Loading commit data...
Collection.php Loading commit data...
Connection.php Loading commit data...
Model.php Loading commit data...
MongodbServiceProvider.php Loading commit data...