Does this exist for Swift? Can anybody point me in the correct direction? I’m trying to turn document(s) returned from Mongo query into class/struct objects in Swift - can’t seem to find anything online.
Hi @Arihant_Jain1, how are you querying MongoDB from your Swift application?
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?
Hi Kaitlin, would you mind getting back to me on how to accomplish this?