Newscoop\Doctrine\AdoDbAdapter::getRow PHP Méthode

getRow() public méthode

Execute sql query and return first row of the result as an associative array.
public getRow ( string $sql, array $params = [] ) : array
$sql string
$params array
Résultat array
    public function getRow($sql, array $params = array())
    {
        return $this->connection->fetchAssoc($sql);
    }