I have some problem in using methods in mongoengine,just as follows (just show the key codes ):
from mongoengine import *
class AB(Document):
........
queryset=AB.objects(__raw__=rawquery)
num1=queryset.count()
querylist=list(queryset)
num2=len(querylist)
The problem is that in my project num1=111 ,however num2=55
my question is why num1 < num2 ?
what is happening in the code "querylist=list(queryset)"
?
thank u!