module Sequel::Plugins::PgRow::ClassMethods

Public Instance Methods

register_row_type() click to toggle source

Register the model's row type with the database.

# File lib/sequel/plugins/pg_row.rb, line 102
def register_row_type
  db.register_row_type(model.table_name, :converter=>self, :typecaster=>method(:new))
end