-
Type:
Task
-
Resolution: Done
-
Priority:
Critical - P2
-
None
-
Affects Version/s: 1.5.0
-
Component/s: libmongoc
-
None
-
Environment:windows
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Hi,
I used mongoc_collection_find_with_opts() to retrieve on a view with opts sort:{$natural:1} and got error message:
"Error from MongoDB Client: FieldPath field names may not start with '$'. (Error Code: 16410)"
Meanwhile, the same call on a real collection can be handled well.
I searched the source code and release notes using key word "view" and browse the api reference, but still have no clue how well the view gets supported.
I would appreciate if you could please give me some info about it.
At least, is there a way to distinguish if a collection is a view through c driver?
Thank you