Mixin: find_one

find_one

This mixin provides findOne() method.
Source:

Example

var collection = new KagoDB();

// first item
collection.findOne({ name: 'Apple' }, function(err, item) {
  console.log(item.name, item.price);
});