Thursday, April 16, 2015

Re: annotate() questions

Hello,

Am 08.04.2015 um 20:07 schrieb Carsten Fuchs:
> 1) Is there a way to annotate each Store object with the actual Book objects related
> to the minimum and maximum prices?
>
> 2) Can this annotation be filtered? For example, if for each Store we wanted to learn
> the min and max prices of books published in 2014, can this be done?


Anyone please?

Best regards,
Carsten

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/552FEC57.3020904%40cafu.de.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment