yii\mongodb\Database::createCommand PHP Метод

createCommand() публичный Метод

Creates MongoDB command associated with this database.
С версии: 2.1
public createCommand ( array $document = [] ) : Command
$document array command document contents.
Результат Command command instance.
    public function createCommand($document = [])
    {
        return $this->connection->createCommand($document, $this->name);
    }