You get errors like: "[SQL::Abstract::_assert_bindval_matches_bindtype] Fatal: bindtype 'columns' selected, you need to pass: [column_name => bind_value]". Going through their documentation it should be written like in this commit.
or with an in-place function in which case literal SQL is required:
- having => \[ 'count(employee) >= ?', 100 ]
+ having => \[ 'count(employee) >= ?', [ {} => 100 ] ]
=head2 distinct