Method: Sequel::Postgres::JSONBaseOp#populate_set

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

#populate_set(arg) ⇒ Object

Expands the given argument using the columns in the json.

json_op.populate_set(arg) # json_populate_recordset(arg, json)


355
356
357
# File 'lib/sequel/extensions/pg_json_ops.rb', line 355

def populate_set(arg)
  SQL::Function.new(function_name(:populate_recordset), arg, self)
end