The interate() method iterates over all docs in a database/view.
It would be nice to run iterate a fixed number of times, perhaps with a static doc, and apply javascript functions. The primary use case for this feature is load-testing/seeding a database with data.