An example of loading graphs of objects from a database using a grouping loader
and async resolve functions.
The DB loader type exposes methods to load items from the database in various ways,
and batches together compatible requests as much as possible for execution in the DB.