class Sequel::Postgres::JSONOp
JSONBaseOp
subclass for the json type
Public Instance Methods
pg_json()
click to toggle source
Return the receiver, since it is already a JSONOp
.
# File lib/sequel/extensions/pg_json_ops.rb 372 def pg_json 373 self 374 end
Private Instance Methods
function_name(name)
click to toggle source
The json type functions are prefixed with json_
# File lib/sequel/extensions/pg_json_ops.rb 379 def function_name(name) 380 "json_#{name}" 381 end