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'),
>                 'month' : ExtractMonth('dateValue'),
>             }
>
> queryset = 
> ListingBooks.objects.values('dateValue','typeBook').annotate(**pipeline)
>
>
> Unfortuantely i get a NotImplementError, as if Djongo ORM i use doesnt 
> implement this function.
>
>
> Can anyone hint me on how to keep the grouping by month at this query level 
> without having to do it manually at the serverside or client side ?
>
>
> Thank you
>
> Es. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/797ef8b8-0600-4f25-a710-ad26fb029106%40googlegroups.com.

Reply via email to