/**
  * @param SchemaManager $schemaManager
  */
 protected function dropSchema(SchemaManager $schemaManager)
 {
     $schemaManager->dropCollections();
 }
コード例 #2
0
ファイル: UpdateCommand.php プロジェクト: alcaeus/mongodb-odm
 /**
  * @param SchemaManager $sm
  */
 protected function processIndex(SchemaManager $sm)
 {
     $sm->updateIndexes($this->timeout);
 }
コード例 #3
0
 protected function processIndex(SchemaManager $sm)
 {
     $sm->ensureIndexes();
 }
コード例 #4
0
ファイル: ShardCommand.php プロジェクト: alcaeus/mongodb-odm
 /**
  * @param SchemaManager $sm
  */
 protected function processIndex(SchemaManager $sm)
 {
     $sm->ensureSharding();
 }