Hey everyone,

I'm running a website, that uses a search bar, and to parse said search 
bar, I "and" together multiple queries in a loop,
but to start of I need a Identity-Query, that does nothing and return 
everything. 
There are solutions to create one, but they aren't free and do not look 
good or intuitive.

So I suggest adding a Identity-Query object, which gets discarded by the 
optimizer during the SQL generation stage.

Leon

PS:
Just using multiple filters wont work, because they always use the original 
data set and unify all results at the end.

PPS:
An issue that occurred me is that "and"-ing together queries may cause the 
results to be duplicate.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/65ce7659-9101-4d60-89be-28b076f97f13n%40googlegroups.com.

Reply via email to