-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.1
-
Component/s: None
-
None
Hi,
In my app I'm using motor+tornado. I've tried to execute query with collation()
db["test_collection"].find({}).sort("field").collation(Collation("pl")).to_list(length=1)
Unfortunately, `core.AgnosticCursor` has `collation` defined as `ReadOnlyProperty()` not `MotorCursorChainingMethod()` and the code fails with error
AttributeError: 'Cursor' object has no attribute 'to_list'