示例#1
0
 def _get_expression(self):
     # pylint: disable=no-member
     # SQLObject methods not detected by pylint
     if self._bBraces:
         return super()._get_expression()
     return LIKE(func.LOWER(self._oMapTable.q.search_text),
                 '%' + self._sPattern + '%')
示例#2
0
 def _get_expression(self):
     return LIKE(func.LOWER(self.oTable.annotations),
                 '%' + self.__sPattern + '%')
示例#3
0
 def _get_expression(self):
     # pylint: disable=no-member
     # SQLObject methods not detected by pylint
     return LIKE(func.LOWER(AbstractCard.q.text),
                 '%' + self._sPattern + '%')
示例#4
0
 def _get_expression(self):
     return LIKE(func.LOWER(self.oTable.comment),
                 '%' + self.__sPattern + '%')