I just need some help here because I am so lost…
i have my code here
client = pymongo.MongoClient(“mongodb+srv://stuff@cluster0.52enc.mongodb.net/Database?retryWrites=true&w=majority”)
db = client.GettingStarted
x = db.warnings.find({"user":user.id})
for info in x:
await ctx.send(info)
print (x)
and whenever i try to find my data stored it gets turned into a cursor object which is fine. But whenever i do the for info in x: no information comes out of it, and I know the data is forsure in there… Is there anything visibally wrong?