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

Collation: Raise error for command helpers, and support aggregate and createindex

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: 1.5.0
    • Component/s: None
    • None

      Talking with rassi on how collation worked in mongoc.. We don't actually raise error when command helpers using _mongoc_client_command_with_opts hit a server that doesn't support collation.

      Furthermore, it seems the aggregate helper only picks out options it knows from the opts argument, rather then bson_concat ing the entire bson_t.

      And, mongoc_collection_create_index_with_opts needs an explicit support for the collation argument as its part of the "indexes" subdocument, not the command itself

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: