mongoose.js: finding data entries by day
===

Suppose this is your model:

    var EventSchema = new Schema({
        title: String,
        startDate: Date,
        endDate: Date
    });

I would like to throw in a date (as simple as like '24-12-2012') and then retrieve every event that started or proceeded at that single day.

How do you do that?


