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
    • union_except (EXCEPT)
      • or .union.except
    • .union_intersect (INTERSECT)
      • or .union.intersect
    • 0๏ธโƒฃ union_as (From clause alias name) (defaults to calling class table name)
      • or .union.as
    • order_union (ORDER BY)
      • or .union.order
    • .reorder_union (overides previously set .order_union)
      • or union.reorder

    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)