Wrap the JSONBHash instance in an JSONBOp, allowing you to easily use the PostgreSQL jsonb functions and operators with literal jsonbs.
[Source]
# File lib/sequel/extensions/pg_json_ops.rb, line 461 461: def op 462: JSONBOp.new(self) 463: end
Cast as jsonb
# File lib/sequel/extensions/pg_json.rb, line 121 121: def sql_literal_append(ds, sql) 122: super 123: sql << '::jsonb' 124: end
[Validate]