These are chat archives for Automattic/mongoose

Apr 2015
Robert Clark
Apr 15 2015 18:07
is there an easy way to get a list of all dates (or just years/months) set in a date field on a document?
short of iterating every document in the collection
Valeri Karpov
Apr 15 2015 19:31
@lojack MyModel.distinct('myDateField', {}, callback);
tushar dhingra
Apr 15 2015 20:58
@vkarpov15 could you please help me out sir
i am in a big trouble have to solve it anyway ?