lib/sequel/extensions/pg_row.rb in sequel-4.12.0 vs lib/sequel/extensions/pg_row.rb in sequel-4.13.0
- old
+ new
@@ -1,9 +1,9 @@
# The pg_row extension adds support for Sequel to handle
# PostgreSQL's row-valued/composite types.
#
-# This extension integrates with Sequel's native postgres adapter, so
+# This extension integrates with Sequel's native postgres and jdbc/postgresql adapters, so
# that when composite fields are retrieved, they are parsed and returned
# as instances of Sequel::Postgres::PGRow::(HashRow|ArrayRow), or
# optionally a custom type. HashRow and ArrayRow are DelegateClasses of
# of Hash and Array, so they mostly act like a hash or array, but not
# completely (is_a?(Hash) and is_a?(Array) are false). If you want the
@@ -72,10 +72,10 @@
# To get a list of such anonymous classes, you can use the following code:
#
# DB.conversion_procs.select{|k,v| v.is_a?(Sequel::Postgres::PGRow::Parser) && \
# v.converter && (v.converter.name.nil? || v.converter.name == '') }.map{|k,v| v}
#
-# If you are not using the native postgres adapter and are using composite types
+# If you are not using the native postgres or jdbc/postgresql adapters and are using composite types
# types as model column values you probably should use the
# pg_typecast_on_load plugin if the column values are returned as a string.
#
# See the {schema modification guide}[rdoc-ref:doc/schema_modification.rdoc]
# for details on using row type columns in CREATE/ALTER TABLE statements.