• 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
src/Jenssegers Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
README.md Loading commit data...
composer.json Loading commit data...
phpunit.xml Loading commit data...