Adding function returning all rows of RowSet

Function "Row[] all()" returns array of all rows of query result. It could be useful in functions where we should return database query result. By now I need to return whole query structure or make row list by myself.