Re: how to do complex query which filters on method not database field

2006-11-06 Thread Ivan Sagalaev
Rachel Willmer wrote: > I have a complicated query which should return the subset of a table > whose objects match one of several conditions. > > What's the easiest way of doing this, given that I can't just do a SQL > statement, because some of the conditions require me to feed the > object's va

how to do complex query which filters on method not database field

2006-11-06 Thread Rachel Willmer
I have a complicated query which should return the subset of a table whose objects match one of several conditions. What's the easiest way of doing this, given that I can't just do a SQL statement, because some of the conditions require me to feed the object's values into a function to evaluate i