예제 #1
0
 public function limit($limit)
 {
     $this->selectBuilder->limit($limit);
     return $this;
 }
예제 #2
0
 public function testLimitOffset()
 {
     $query = $this->selectBuilder->limit(100)->offset(100)->build();
     $this->assertEquals('SELECT * FROM test LIMIT 100 OFFSET 100', $query);
 }