Method: Array#pg_jsonb

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

#pg_jsonbObject

Return a Sequel::Postgres::JSONArray proxy to the receiver. This is mostly useful as a short cut for creating JSONArray objects that didn't come from the database.



599
600
601
# File 'lib/sequel/extensions/pg_json.rb', line 599

def pg_jsonb
  Sequel::Postgres::JSONBArray.new(self)
end