RedBeanPHP\Adapter::getCell PHP Method

getCell() public method

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