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 elif constant.type == 'Password' or constant.type == 'Bytes': |
|
999 value = self.dbms_helper.binary_value(value) |
|
1000 elif constant.type == 'Substitute': |
|
1001 _id = constant.value |
998 _id = constant.value |
1002 if isinstance(_id, unicode): |
999 if isinstance(_id, unicode): |
1003 _id = _id.encode() |
1000 _id = _id.encode() |
1004 else: |
1001 else: |
1005 _id = str(id(constant)).replace('-', '', 1) |
1002 _id = str(id(constant)).replace('-', '', 1) |