MongoEngine/mongoengine

using `no_cache` throws `OperationError("QuerySet already cached")`

wajdijurry opened this issue · 1 comments

Am I doing something wrong here ?

bookmarks = Bookmarks.objects.no_cache().get(student_id=student_id)

It always returns the cached result set, while there are no documents in the DB collection :$

How to disable query caching? I am struggling in this situation.

Seems the issue that the mongoengine was saving to another collection which I did not pay attention to.

Closing this issue.