If resultset is buffered, it is a good idea to set the internal _result
property so that the query can be iterated multiple times