Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query the data from the fixtures. #3

Open
mattma opened this issue Aug 25, 2013 · 0 comments
Open

Query the data from the fixtures. #3

mattma opened this issue Aug 25, 2013 · 0 comments

Comments

@mattma
Copy link

mattma commented Aug 25, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant