We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ade23a1 commit 2d5ccd7Copy full SHA for 2d5ccd7
psqlextra/query.py
@@ -44,7 +44,7 @@ def rename_annotations(self, annotations) -> None:
44
self._annotations = OrderedDict(
45
[(new_name, v) if k == old_name else (k, v) for k, v in self._annotations.items()])
46
self.set_annotation_mask(
47
- (new_name if v == old_name else v for v in self.annotation_select_mask))
+ (new_name if v == old_name else v for v in (self.annotation_select_mask or [])))
48
49
def add_join_conditions(self, conditions: Dict[str, Any]) -> None:
50
"""Adds an extra condition to an existing JOIN.
0 commit comments