instance method
construct_coder
Ruby on Rails 7.1.6
Since v5.2.8.1 PrivateSignature
construct_coder(row, coder_class)
No documentation comment.
Parameters
-
rowreq -
coder_classreq
Source
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 1193
def construct_coder(row, coder_class)
return unless coder_class
coder_class.new(oid: row["oid"].to_i, name: row["typname"])
end
Defined in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb line 1193
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::PostgreSQLAdapter