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

      Here it says startSession takes a second parameter (callback):
      https://github.com/mongodb/node-mongodb-native/blob/934a43a90141fbacebd4bcdd9151a4f6a8a8bc57/lib/mongo_client.js#L498

      It also says startSession will return a Promise:
      https://github.com/mongodb/node-mongodb-native/blob/934a43a90141fbacebd4bcdd9151a4f6a8a8bc57/lib/mongo_client.js#L499

      However startSession actually returns a ClientSession. I'm really confused how should I use startSession...

            Assignee:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Reporter:
            pakastin Juha Lindstedt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: