diff options
author | Carlo Zancanaro <carlo@clearboxsystems.com.au> | 2013-09-29 15:34:31 +1000 |
---|---|---|
committer | Carlo Zancanaro <carlo@clearboxsystems.com.au> | 2013-09-29 15:34:31 +1000 |
commit | 9b5e0cfc6f4302149721474b2934f44e409e99c0 (patch) | |
tree | 849f01d3181f682e75810afe6b96f5024ef7d0ce /test | |
parent | 27b7258697988dcc63d097620732c4325c06aa68 (diff) |
Remove the `having` function, incorporate into `select`
The `having` function duplicated the intended functionality of `select`, but in
a bad way. It only applied to a restricted case, and its existence meant that
`select` provided an escape-hatch with which we could cause some unexpected
behaviour. By consolidating the two functions into `select` we remove the
escape hatch as well as simplify the model.
Selection on grouped queries may now introduce a new subquery, but only in
situations where the behaviour is unpredictable (ie. selecting on non-grouped
attributes).
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions