how select all existing fields in a collection from an field of type object in mongodb
I have a collection that have a field named "data" that can have any fields, and I have to get all existing fields in all collections in that "data" field or get the documents that have diferents fields in that…