Answer the question
In order to leave comments, you need to log in
How do I compare two values from pymongo?
Here is a piece of code:
elif rolecoll.find_one({"_idRole": role.id})["cost"] > collection.find_one({"_id": member.id})["cash"]:
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