> You lose the ability to check whether and object is a field. > > b = a is db.posts.color
I have not tried it, and I do not totally understand, but if this breaks things like isinstance, etc then no way. This is just syntactic sugar, so it is not needed. > > > > > orderby=[-db.posts.date,-db.posts.title] # operator.__neg__(obj) > > you lose the ability to do > > db(...).update(field=-db.table.field) > > i.e. change sign to numeric values. There must be a way to make it work: >>> a=1 >>> b=-a >>> a 1 >>> b -1 >>> -a -1 > > I have no objection to contains and like but need to think more about it. > This stuff is not critical. I just like to think them up, and I rely on you to think them through. :) Robin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@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 -~----------~----~----~----~------~----~------~--~---