Let's find something in the database:
here qs is a monk.modeling.MongoResultSet instance; now sort the documents:
...whoops, qs2 is a pymongo.cursor.Cursor, i.e. monk.modeling.Document wrapping is lost.
Currently MongoResultSet simply redirects __getattr__ to Cursor; it should wrap the results in some cases as it does in __iter__.
Note: This issue has been automatically migrated from Bitbucket
Created by @neithere on 2012-05-17 01:27:32+00:00, last updated: 2012-05-17 01:28:09+00:00