mongodb\QueryBuilder listIndexes()

listIndexes() public method

Generates list indexes command.

public array listIndexes ( $collectionName, $options = [] )
$collectionName string

Collection name

$options array

Command options. Available options are:

  • maxTimeMS: integer, max execution time in ms.
return array

Command document.

doc_Yii
2016-10-30 17:09:09
Comments
Leave a Comment

Please login to continue.