Method: Sequel::SQLite::JSONOp#tree
- Defined in:
- lib/sequel/extensions/sqlite_json_ops.rb
#tree(*args) ⇒ Object
Returns an expression for a set of information extracted from the JSON array or object, or the JSON array or object at the given path.
json_op.tree # json_tree(json)
json_op.tree('$.a') # json_tree(json, '$.a')
174 175 176 |
# File 'lib/sequel/extensions/sqlite_json_ops.rb', line 174 def tree(*args) function(:tree, *args) end |