Migrate creation of hashed index on 4.x

XMLWordPrintableJSON

    • 1
    • Not Needed
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      I am migrating from driver version 3 to 4.
      In version 3, I used collection.createIndex({field: "hashed"}) to create a hashed index.
      However, it is blocked by the type system in version 4 as "hashed" is not included in type IndexDirection.

              Assignee:
              Neal Beeken
              Reporter:
              Tak Kin Cheng
              Neal Beeken
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: