lib/sequel/extensions/pg_row.rb in sequel-3.40.0 vs lib/sequel/extensions/pg_row.rb in sequel-3.41.0

- old
+ new

@@ -79,10 +79,12 @@ # Class for row-valued/composite types that are treated as arrays. By default, # this is only used for generic PostgreSQL record types, as registered # types use HashRow by default. class ArrayRow < DelegateClass(Array) + include Sequel::SQL::AliasMethods + class << self # The database type for this class. May be nil if this class # done not have a specific database type. attr_accessor :db_type @@ -123,9 +125,11 @@ # Class for row-valued/composite types that are treated as hashes. # Types registered via Database#register_row_type will use this # class by default. class HashRow < DelegateClass(Hash) + include Sequel::SQL::AliasMethods + class << self # The columns associated with this class. attr_accessor :columns # The database type for this class. May be nil if this class