New function to pull in entire result set in one go