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 382 382: def op 383: JSONBOp.new(self) 384: end
Cast as jsonb
# File lib/sequel/extensions/pg_json.rb, line 126 126: def sql_literal_append(ds, sql) 127: super 128: sql << CAST_JSONB 129: end
[Validate]