
Thanks for responding. Here is an example of where I am using collection.find, and passing in a query filter. I would like to turn all of these documents into an object of the following class:

I need to be able to turn each document returned from the query into an actual object of Task(), any ideas?