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

Cursor.count() not working

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 2.1.7
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      windows 8.1, node: 4.2.2

      able to read from a collection, but cursor.count() giving below error:
      [TypeError: Cannot read property 'write' of undefined] in code ,
      at line 969 of lib/cursor.js ( connection.write(query.toBin())

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            harshi.verma1991@gmail.com Harshi Verma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: