Skip to content

Instantly share code, notes, and snippets.

@jdkealy
Created March 9, 2014 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdkealy/9452949 to your computer and use it in GitHub Desktop.
Save jdkealy/9452949 to your computer and use it in GitHub Desktop.
var items = collection.find({
$where : function() {
return (this.date.getMinutes() === 5);
}
}).sort({date:1});
_.each(items, function(i){
console.log(i);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment