Re: Dynamic OR queries

2007-08-27 Thread Nis Jørgensen
Steven Armstrong skrev: > Chris Hoeppner wrote on 08/25/07 18:40: > >> Hi there! >> >> I was just wondering how to dynamically "or" together an indetermined >> quantity of Q objects. They're constructed from a string like q=a+b+c, >> which would get stiched together as "(Q(field=a) | Q(field=b)

Re: Dynamic OR queries

2007-08-25 Thread Steven Armstrong
Chris Hoeppner wrote on 08/25/07 18:40: > Hi there! > > I was just wondering how to dynamically "or" together an indetermined > quantity of Q objects. They're constructed from a string like q=a+b+c, > which would get stiched together as "(Q(field=a) | Q(field=b) | > Q(field=c))". Any clue on how

Dynamic OR queries

2007-08-25 Thread Chris Hoeppner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there! I was just wondering how to dynamically "or" together an indetermined quantity of Q objects. They're constructed from a string like q=a+b+c, which would get stiched together as "(Q(field=a) | Q(field=b) | Q(field=c))". Any clue on how to do