class Sequel::Postgres::JSONBArray
Public Instance Methods
op()
click to toggle source
Wrap the JSONBArray
instance in an JSONBOp
, allowing you to easily use the PostgreSQL jsonb functions and operators with literal jsonbs.
# File lib/sequel/extensions/pg_json_ops.rb 453 def op 454 JSONBOp.new(self) 455 end
sql_literal_append(ds, sql)
click to toggle source
Cast as jsonb
Calls superclass method
Sequel::Postgres::JSONArrayBase#sql_literal_append
# File lib/sequel/extensions/pg_json.rb 90 def sql_literal_append(ds, sql) 91 super 92 sql << '::jsonb' 93 end