How to use the $facet aggregation when I don't know upfront the name of all the attributes?
The documentation in https://www.mongodb.com/docs/atlas/atlas-search/facet only provides examples for a fixed and known upfront set of attributes.
How to use the $facet aggregation when I don't know upfront the name of all the attributes?
The documentation in https://www.mongodb.com/docs/atlas/atlas-search/facet only provides examples for a fixed and known upfront set of attributes.