createCommand() public method (available since version 2.1)
Creates MongoDB command associated with this database.
| public yii\mongodb\Command createCommand ( $document = [] ) | ||
|---|---|---|
| $document | array |
Command document contents. |
| return | yii\mongodb\Command |
Command instance. |
Please login to continue.