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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.