Need query help to assign a value as key in the aggregation query

Please read Formatting code and log snippets in posts and format your code and sample document appropriately.

As a better alternative, please create a playground.

This will help us help you.

Thanks

1 Like