Method: Sequel::Postgres::JSONBaseOp#array_length
- Defined in:
- lib/sequel/extensions/pg_json_ops.rb
#array_length ⇒ Object
Get the length of the outermost json array.
json_op.array_length # json_array_length(json)
246 247 248 |
# File 'lib/sequel/extensions/pg_json_ops.rb', line 246 def array_length Sequel::SQL::NumericExpression.new(:NOOP, function(:array_length)) end |