fetchRow() public method

Fetch Row
public fetchRow ( mixed $query, mixed $parameters = null ) : array | Zend\Db\ResultSet\RowObjectInterface
$query mixed (\Zend\Db\Sql\*|string) Query
$parameters mixed Parameters
return array | Zend\Db\ResultSet\RowObjectInterface
Esempio n. 1
0
 /**
  * Test
  *
  * @return void
  */
 public function testFetchRow()
 {
     $result = $this->object->fetchRow($this->object->select());
     $this->assertInternalType('array', $result);
 }