I’m new to mongodb. I have version 4.4
I was searching for this but had no luck.
I would like to collect all attribute (field) names that are common in all documents in the collection (and all the ones that are not common). Can you please point me to the right direction? Thank you.