updateIndexes() public method

Indexes that exist in MongoDB but not the document metadata will be deleted.
public updateIndexes ( integer $timeout = null )
$timeout integer Timeout (ms) for acknowledged index creation
Exemplo n.º 1
0
 /**
  * @param SchemaManager $sm
  */
 protected function processIndex(SchemaManager $sm)
 {
     $sm->updateIndexes($this->timeout);
 }
Exemplo n.º 2
0
 protected function processIndex(SchemaManager $sm)
 {
     $sm->updateIndexes();
 }