Exemplo n.º 1
0
 /**
  * Test for OFFSET clause.
  *
  * @return  void
  *
  * @since   1.0
  */
 public function testOffset()
 {
     $q = new PostgresqlQuery($this->dbo);
     $this->assertThat($q->offset('10'), $this->identicalTo($q), 'Tests chaining.');
     $this->assertThat(trim($q->offset), $this->equalTo('OFFSET 10'), 'Tests rendered value.');
 }