Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30602

provide a simple $eq (binary, lexical) expression for comparison independent of collation

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Labels:
      None
    • Query

      It's possible that one needs to make binary/simple comparison of two fields even in the context of a collection/operation with non-simple collation.

      In match language it can be faked by using left and right anchored regex, but there is no way to do this in aggregation. Having some kind of "$binEq" expression would provide it for aggregation (and if it's available in match that would also be useful).

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: