Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1522

unify collation support in topology

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.8
    • Affects Version/s: None
    • Component/s: Core
    • None

          // Check if we have collation support
          if (this.description.maxWireVersion < 5 && options.collation) {
            callback(new MongoError(`server ${this.name} does not support collation`));
            return;
          }
      

      From Dan: We do this check a lot. Can we make it DRY?

      Let's do it!

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: