Changes between Initial Version and Version 1 of Ticket #34564, comment 5
- Timestamp:
- May 14, 2023, 5:02:14 AM (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34564, comment 5
initial v1 19 19 ... 20 20 }}} 21 And aggregate classes have implemented this. All of classes have `empty_result_set_value = None` instead of `Count` class and `RegrCount` class, which it is `empty_result_set_value = 0` in those classes. And because of this attr, we can't use `default=0` :21 And aggregate classes have implemented this. All of classes have `empty_result_set_value = None` instead of `Count` class and `RegrCount` class, which it is `empty_result_set_value = 0` in those classes. And because of this attr, we can't use `default=0` in `Count`: 22 22 23 23 {{{ … … 34 34 ... 35 35 }}} 36 So as far as I understand, we are considering `empty_result_set_value` as kind of a default value. So why don't we just return `empty_result_set_value` in case of being None in `convert_value` property ?36 And in `Count` class, `empty_result_set_value=0` and we use default because of that. So as far as I understand, we are considering `empty_result_set_value` as kind of a default value. So why don't we just return `empty_result_set_value` in case of being None in `convert_value` property ?