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

testCountWithLimitAndSkipLegacy() 공개 메소드

    public function testCountWithLimitAndSkipLegacy()
    {
        $this->prepareData();
        $collection = $this->getCollection();
        $this->assertSame(2, $collection->count([], 2, 1));
        $this->assertSame(1, $collection->count([], 1, 1));
    }
MongoCollectionTest