(self)
| 110 | ) |
| 111 | |
| 112 | def coalesce(self): |
| 113 | # null on either side results in null for expression, wrap with |
| 114 | # coalesce |
| 115 | c = self.copy() |
| 116 | c.set_source_expressions( |
| 117 | [ |
| 118 | Coalesce(expression, Value("")) |
| 119 | for expression in c.get_source_expressions() |
| 120 | ] |
| 121 | ) |
| 122 | return c |
| 123 | |
| 124 | |
| 125 | class Concat(Func): |