Solar_Sql_Adapter::fetchAll PHP Méthode

fetchAll() public méthode

Fetches all rows from the database using sequential keys.
public fetchAll ( array | string $spec, array $data = [] ) : array
$spec array | string An array of component parts for a SELECT, or a literal query string.
$data array An associative array of data to bind into the SELECT statement.
Résultat array
    public function fetchAll($spec, $data = array())
    {
        $result = $this->fetchPdo($spec, $data);
        return $result->fetchAll(PDO::FETCH_ASSOC);
    }