QueryResult implements array access