On maandag 14 mei 2018 16:42:49 CEST Matthew Pava wrote:

> But if in your use case, you had a million records in which you were trying
> to filter

Full stop right there. No one is filtering anything in the original use case, 
so you're comparing apples and oranges.
Filtering you would do in the database, but you'd still not use annotate, 
cause you can simply filter on the dob using standard __gte/__lte etc. lookups.
-- 
Melvyn Sopacua

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1618227.LY2WuIfJ59%40fritzbook.
For more options, visit https://groups.google.com/d/optout.

Reply via email to