Re: Problem extracting month Djongo / MongoDB

2020-03-24 Thread Eswar Subramanyam
Does someone have any idea of any other groups on which i can get help on my question ? Thanks. BR Es. Le lundi 23 mars 2020 16:14:37 UTC+1, Eswar Subramanyam a écrit : > > I am using MongoDB as underlying DB with Django. > > pipeline = { > 'price' : Sum('price'), >

Problem extracting month Djongo / MongoDB

2020-03-23 Thread Eswar Subramanyam
I am using MongoDB as underlying DB with Django. pipeline = { 'price' : Sum('price'), 'month' : ExtractMonth('dateValue'), } queryset = ListingBooks.objects.values('dateValue','typeBook').annotate(**pipeline) Unfortuantely i get a