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

Document arguments to callback functions

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      The functions:
      http://mongodb.github.com/node-mongodb-native/api-generated/collection.html#count
      and
      http://mongodb.github.com/node-mongodb-native/api-generated/collection.html#insert
      do not document the arguments to the callback function. For insert the examples don't use the second argument so it's not clear what it is for.

      An example where the arguments are documented:
      http://mongodb.github.com/node-mongodb-native/api-generated/cursor.html#count

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            sverch Shaun Verch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: