module Sequel::Plugins::PgRow::InstanceMethods

  1. lib/sequel/plugins/pg_row.rb

Methods

Public Instance

  1. sql_literal_append

Public Instance methods

sql_literal_append(ds, sql)

Literalize the model instance and append it to the sql.

[show source]
   # File lib/sequel/plugins/pg_row.rb
70 def sql_literal_append(ds, sql)
71   sql << 'ROW'
72   ds.literal_append(sql, values.values_at(*columns))
73   sql << '::'
74   ds.quote_schema_table_append(sql, model.dataset.first_source_table)
75 end