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

Unable fetch collection on {strict: true} option

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

      When trying collection with test.collection.col name returns empty array:

      db.collection('collection.col',

      {w: 1, strict: true}

      , function (err, collection) {
      if (err)

      { console.log(err); // Collection collection.col does not exist. Currently in strict mode. }

      });

      But with

      {strict: false}

      the collection.col collection gets successfully.

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            artem Artem
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: