We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When created sparse index:
<?php $collection->createIndex($array( 'sparseAsc' => 1, 'sparseDesc' => -1, ), ['sparse' => true])
then $collection->getIndexInfo() gives:
1 => array ( 'v' => 2, 'key' => array ( 'sparseAsc' => 1, 'sparseDesc' => -1, ), 'name' => 'sparseAsc_1_sparseDesc_-1', 'ns' => 'test.phpmongo_test_collection', 'sparse' => true, ),
Your implementation has no parameter 'sparse' in https://github.com/alcaeus/mongo-php-adapter/blob/master/lib/Mongo/MongoCollection.php#L706-L724 but IndexInfo has method isSparse.
Same with expireAfterSeconds and textIndexVersion.
expireAfterSeconds
textIndexVersion
The text was updated successfully, but these errors were encountered:
Again, thanks for the report. #150 fixes this.
Sorry, something went wrong.
No branches or pull requests
When created sparse index:
then $collection->getIndexInfo() gives:
Your implementation has no parameter 'sparse' in
https://github.com/alcaeus/mongo-php-adapter/blob/master/lib/Mongo/MongoCollection.php#L706-L724
but IndexInfo has method isSparse.
Same with
expireAfterSeconds
andtextIndexVersion
.The text was updated successfully, but these errors were encountered: