Skip to content

Find exercise: connect callback parameters have changed in current version #69

Open
@VAggrippino

Description

@VAggrippino

In the current version of the Node.js MongoDB Driver, the second argument to the MongoClient.connect() callback has changed from a database object to the MongoClient instance.

There are a few changes that should be made to the hint section in order to make it consistent with the current API.

It should also be noted that the close() method is now called on the client instance rather than the database object.

The resources should probably also reference the current API documentation for the Collection's find method: http://mongodb.github.io/node-mongodb-native/3.0/api/Collection.html#find

Reference:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions