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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: 1.5.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • 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:
            A. Jesse Jiryu Davis
            Reporter:
            Hannes Magnusson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: