Пример #1
0
 /**
  * Test for RETURNING clause.
  *
  * @return  void
  *
  * @since   1.0
  */
 public function testReturning()
 {
     $q = new PostgresqlQuery($this->dbo);
     $this->assertThat($q->returning('id'), $this->identicalTo($q), 'Tests chaining.');
     $this->assertThat(trim($q->returning), $this->equalTo('RETURNING id'), 'Tests rendered value.');
 }