items.find({ \'inventory.ids\': \'1234567\' }, function (err, result) { if (!result) { console.log(\'nothing\');