ActiveRecordExtended v1.0.0 Release Notes
Release Date: 2019-03-23 // about 5 years ago-
โ Add support for Postgres Union types and refactor Arel building process into a single module
Union Query Commands
.union
(UNION).union_all
(UNION ALL)- or
.union.all
- or
union_except
(EXCEPT)- or
.union.except
- or
.union_intersect
(INTERSECT)- or
.union.intersect
- or
- 0๏ธโฃ
union_as
(From clause alias name) (defaults to calling class table name)- or
.union.as
- or
order_union
(ORDER BY)- or
.union.order
- or
.reorder_union
(overides previously set.order_union
)- or
union.reorder
- or
JSON Query Commands
.select_row_to_json
(ROW_TO_JSON)- ๐
.json_build_object
(JSON_BUILD_OBJECT) - ๐
.jsonb_build_object
(JSONB_BUILD_OBJECT) - ๐
.json_build_literal
(JSON_BUILD_OBJECT) (static hash / array implementation) - ๐
.jsonb_build_literal
(JSONB_BUILD_OBJECT) (static hash / array implementation)