Method: Sequel::Postgres::JSONBaseOp#populate

Defined in:
lib/sequel/extensions/pg_json_ops.rb

#populate(arg) ⇒ Object

Expands the given argument using the columns in the json.

json_op.populate(arg) # json_populate_record(arg, json)
[View source]

343
344
345
# File 'lib/sequel/extensions/pg_json_ops.rb', line 343

def populate(arg)
  SQL::Function.new(function_name(:populate_record), arg, self)
end