Method: Sequel::Postgres::JSONBOp#concat

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

#concat(other) ⇒ Object

jsonb expression for concatenation of the given jsonb into the current jsonb.

jsonb_op.concat(:h) # (jsonb || h)


307
308
309
# File 'lib/sequel/extensions/pg_json_ops.rb', line 307

def concat(other)
  json_op(CONCAT, wrap_input_jsonb(other))
end