[sqlalchemy] Re: IS DISTINCT FROM

2011-10-14 Thread Jon Nelson
On Fri, Oct 14, 2011 at 4:45 PM, Jon Nelson jnel...@jamponi.net wrote: What is the SA equivalent of: UPDATE foo SET bar=some_function(baz) WHERE bar IS DISTINCT FROM some_function(baz) I get this far (assuming 't' is a Table instance):

Re: [sqlalchemy] Re: IS DISTINCT FROM

2011-10-14 Thread Michael Bayer
for now yes, I've not heard of IS DISTINCT FROM before. On Oct 14, 2011, at 6:25 PM, Jon Nelson wrote: On Fri, Oct 14, 2011 at 4:45 PM, Jon Nelson jnel...@jamponi.net wrote: What is the SA equivalent of: UPDATE foo SET bar=some_function(baz) WHERE bar IS DISTINCT FROM some_function(baz)

Re: [sqlalchemy] Re: IS DISTINCT FROM

2011-10-14 Thread Jon Nelson
On Fri, Oct 14, 2011 at 8:12 PM, Michael Bayer mike...@zzzcomputing.com wrote: for now yes, I've not heard of IS DISTINCT FROM before. In the right places, it's mighty useful. -- Jon -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to