Method: Sequel::Postgres::JSONBOp#pretty

Defined in:
lib/sequel/extensions/pg_json_ops.rb

#prettyObject

Return a pretty printed version of the receiver as a string expression.

jsonb_op.pretty # jsonb_pretty(jsonb)

784
785
786
# File 'lib/sequel/extensions/pg_json_ops.rb', line 784

def pretty
  Sequel::SQL::StringExpression.new(:NOOP, function(:pretty))
end