File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
PATH
2
2
remote: .
3
3
specs:
4
- query_helper (0.4.2 )
4
+ query_helper (0.4.4 )
5
5
activerecord (> 5 )
6
6
activesupport (> 5 )
7
7
sqlite3
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ def find_aliases
188
188
ColumnMap . new (
189
189
alias_name : sql_alias ,
190
190
sql_expression : sql_expression . squish ,
191
- aggregate : /\b (array_agg|avg|bit_and|bit_or|bool_and|bool_or|boolor_agg|booland_agg|count|every|json_agg|jsonb_agg|json_object_agg|jsonb_object_agg|max|min|string_agg|sum|xmlagg)\( (.*)\) / . match? ( sql_expression )
191
+ aggregate : /\b (array_agg|avg|bit_and|bit_or|bool_and|bool_or|boolor_agg|booland_agg|count|every|json_agg|jsonb_agg|json_object_agg|jsonb_object_agg|max|min|string_agg|sum|xmlagg|any_value|ANY_VALUE )\( (.*)\) / . match? ( sql_expression )
192
192
) if sql_alias
193
193
end
194
194
column_maps . compact
Original file line number Diff line number Diff line change 1
1
class QueryHelper
2
- VERSION = "0.4.3 "
2
+ VERSION = "0.4.4 "
3
3
end
You can’t perform that action at this time.
0 commit comments