RedBeanPHP\Adapter::getRow PHP Method

getRow() public method

This method returns a single row (one array) resultset. The values array can be used to bind values to the place holders in the SQL query.
public getRow ( string $sql, array $bindings = [] ) : array
$sql string string containing SQL code for database
$bindings array array of values to bind to parameters in query string
return array
    public function getRow($sql, $bindings = array());