Details
-
Task
-
Resolution: Done
-
Critical - P2
-
None
-
1.5.0
-
None
-
windows
Description
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