Alcaeus\MongoDbAdapter\Tests\Mongo\MongoCollectionTest::testUpdateReplaceMultiple PHP 메소드

testUpdateReplaceMultiple() 공개 메소드

    public function testUpdateReplaceMultiple()
    {
        $this->setExpectedExceptionRegExp('MongoWriteConcernException', '/multi update only works with \\$ operators/', 9);
        $this->getCollection()->update(['foo' => 'bar'], ['foo' => 'foo'], ['multiple' => true]);
    }
MongoCollectionTest