Sequel::Postgres::JSONHashBase
Wrap the JSONHash instance in an JSONOp, allowing you to easily use the PostgreSQL json functions and operators with literal jsons.
# File lib/sequel/extensions/pg_json_ops.rb, line 365 def op JSONOp.new(self) end
Cast as json
# File lib/sequel/extensions/pg_json.rb, line 114 def sql_literal_append(ds, sql) super sql << CAST_JSON end