oh,thery are overloaded in SQLXorable Thanks
2009/1/23 BearXu <[email protected]> > maybe the == is overloaded by the Class of db.user.name > > > 2009/1/23 BearXu <[email protected]> > > I know use __cal__, an object of SQLDB can take a parameter again. >> so db is an object of SQLDB and db(query) returns an object of SQLSET >> >> but Why the return type of query = (db.user.name == 'Max') is an object >> of SQLQUERY instead of "True/False" >> >> Is that a python's feature? >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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 -~----------~----~----~----~------~----~------~--~---

