equal
deleted
inserted
replaced
993 if rel is not None: |
993 if rel is not None: |
994 rel._q_needcast = value |
994 rel._q_needcast = value |
995 return self.keyword_map[value]() |
995 return self.keyword_map[value]() |
996 if constant.type == 'Boolean': |
996 if constant.type == 'Boolean': |
997 value = self.dbms_helper.boolean_value(value) |
997 value = self.dbms_helper.boolean_value(value) |
|
998 if constant.type == 'Substitute': |
998 _id = constant.value |
999 _id = constant.value |
999 if isinstance(_id, unicode): |
1000 if isinstance(_id, unicode): |
1000 _id = _id.encode() |
1001 _id = _id.encode() |
1001 else: |
1002 else: |
1002 _id = str(id(constant)).replace('-', '', 1) |
1003 _id = str(id(constant)).replace('-', '', 1) |