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 <mdipie...@cs.depaul.edu> 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 <thade...@thadeusb.com> 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 <mdipie...@cs.depaul.edu>
> 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 web...@googlegroups.com.
> To unsubscribe from this group, send email to
> web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com>
> .
> 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 web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to