Agreed I noticed using negated find would return what I expected, but it's not logical, and its another one of those things that I learned in school, never use negated logic unless absolutely necessary
Basically that is all that the function I suggested does, is negate the lambda function, this way you can still program in true based logic. It just makes since to "EXCLUDE WHERE A == B RETURN RESULTS" however it is "EXCLUDE IN PLACE WHERE A == B RETURN EXCLUDED RECORDS" At the time, I had no reason to use it, so did not have any input. -Thadeus On Sun, Nov 29, 2009 at 2:09 PM, mdipierro <[email protected]> wrote: > That is how the patch was designed by Mr.Freeze. Nobody opposed at the > time. Now we keep is as is for backward compatibility. If you just > need to return exluded rows, just used find and negate the condition. > > Nevertheless you do have a good point. > > Massimo > > On Nov 29, 1:59 pm, Thadeus Burgess <[email protected]> wrote: > > I don't understand. > > > > Why would I want to return my excluded rows? > > > > Why does exclude work in place and find not? I would think they should > work > > similar. > > > > When I want to exclude, I would think I want all the results returned > with > > the lambda excluded. Just seems like thats what it should do, my bad. > > > > -Thadeus > > > > On Sun, Nov 29, 2009 at 8:54 AM, mdipierro <[email protected]> > wrote: > > > es return the same as find but the way they act on t > > > > > > -- > > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<web2py%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

