added iter version of get_rows in dbconnect