Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1968

Does the 1.5.0 support views?

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • None
    • 1.5.0
    • libmongoc
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            chang su chang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: