Correct way to loop through all entries of a database resource?

Support