예제 #1
0
 public function testLimit()
 {
     $result = $this->object->limit(10, 5)->getDbComponent()->getLimitPart();
     $compare = " LIMIT 10, 5";
     $this->assertEquals($compare, $result);
 }
 public function testLimit()
 {
     $result = $this->object->limit(10, 5)->getLimitPart();
     $compare = " (row > 10) and (row <= 15)";
     $this->assertEquals($compare, $result);
 }