Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1148

Ensure that collations specified at a String key are also checked in operations

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.0
    • Affects Version/s: 2.4.0.rc0
    • Component/s: None
    • Labels:
      None

      Specifying a collation at a String key when creating an index doesn't raise an error when using a server version < 3.4.

      For example:

      client[:contacts].indexes.create_one({ "first_name" => 1 }, "unique" => true, "collation" => { "locale" => "fr_FR" })
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            emily.stolfo Emily Stolfo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: