Newscoop\Doctrine\AdoDbAdapter::getRow PHP 메소드

getRow() 공개 메소드

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
리턴 array
    public function getRow($sql, array $params = array())
    {
        return $this->connection->fetchAssoc($sql);
    }