Answer the question
In order to leave comments, you need to log in
Why does it swear by the words TypeError: unhashable type: 'dict'?
I have a code snippet:
print(db.events.aggregate([
{"$match": {"is_buyer": 0}},
{"$group": {level: "$eventName", total: {'$sum': 1}}},
{"$sort": {level: 1}}
])
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question