You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.
my english ois poor
when i want find a user or a user list from mongodb with mongokit, i thougnt that the usage would be something like blew user=comnnect.User() result-user.find_one({'name': u'jft'}) results=user.find() #result is dict #results is list
actually the fact is something like below:
user=comnnect.User result-user.find_one({'name': u'jft'}) results=user.find() #result is cursor obj #results is cursor obj
so i am confused,
why design and provide the method like this
The text was updated successfully, but these errors were encountered:
my english ois poor
when i want find a user or a user list from mongodb with mongokit, i thougnt that the usage would be something like blew
user=comnnect.User() result-user.find_one({'name': u'jft'}) results=user.find() #result is dict #results is list
actually the fact is something like below:
user=comnnect.User result-user.find_one({'name': u'jft'}) results=user.find() #result is cursor obj #results is cursor obj
so i am confused,
why design and provide the method like this
The text was updated successfully, but these errors were encountered: