Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.

Query the data from the fixtures.  #3

@mattma

Description

@mattma

I run the examples simple.js to test the query data from the 'wines' collection. But no success.

I have tried those,

  db.collection('wines', function(err, collection){
    collection.findOne({"name": "Sunnyside Pinot"}, function(err, doc){
        console.log('doc: ', doc);
    })
  }) ;
   db.collection('wines').findOne({}, function(err, doc){
   })

None of these is taking me any further, could you help me how to use this library? Thanks.

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