I think it would be nice to specify custom operators that can be used with the DAL as I believe this would allow for operators that are currently yet to be supported with a built-in DAL operator...
>From dal.py, I am thinking this should be relatively easy to implement, and code would be along the lines of: update to dal.py def raw_where(self, value, op): db = self.db return Query(db, op, self, value) which enables the following in a project def OPERATOR(self, first, second): return '(%s && %s)' % (self.expand(first), self.expand(second)) //'this return expression should be customised... rows = db(db.table.field.raw_where(parameter, OPERATOR)).select() -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.