public function fetchOne(string $sql, array $values = [], int $columnNumber = 0): string
    {
        return $this->dbConnection->prepare($sql)
                ->execute($values)
                ->fetchOne($columnNumber);
    }
public function fetchOne(string $sql, array $values = [], int $columnNumber = 0): string
    {
        return $this->dbConnection->prepare($sql)
                ->execute($values)
                ->fetchOne($columnNumber);
    }
public function fetchOne ( string $ sql , array $ values = [ ] , int $ columnNumber = 0 ) : string { return $ this -> dbConnection -> prepare ( $ sql ) -> execute ( $ values ) -> fetchOne ( $ columnNumber ) ; }
fetch single value from a result set

@param   string  $sql            sql query to fetch data with
@param   array   $values         map of values in case $sql contains a prepared statement
@param   int     $columnNumber  optional  the column number to fetch, default is first column
@return  string
@throws  \stubbles\db\DatabaseException
@since   3.1.0
fetch single value from a result set