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

testBatchInsertWithNumericKey() 공개 메소드

    public function testBatchInsertWithNumericKey()
    {
        $documents = [['foo']];
        $this->getCollection()->batchInsert($documents);
        $this->assertSame(1, $this->getCollection()->count(['foo']));
    }
MongoCollectionTest