public function select($SQL, $parameters = null) {
        $queryResult = $this->executeSQL($SQL, $parameters);
        return $queryResult->fetchAll(\PDO::FETCH_ASSOC);
    }
public function select($SQL, $parameters = null) {
        $queryResult = $this->executeSQL($SQL, $parameters);
        return $queryResult->fetchAll(\PDO::FETCH_ASSOC);
    }
public function select ( $ SQL , $ parameters = null ) { $ queryResult = $ this -> executeSQL ( $ SQL , $ parameters ) ; return $ queryResult -> fetchAll ( \ PDO :: FETCH_ASSOC ) ; }
Do a select query to Database and return the result in a array type.

@param string $SQL
@return array selected rows.
@throws ModelException
Do a select query to Database and return the result in a array type .