Method: Sequel::SQLite::JSONBaseOp#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')
198 199 200 |
# File 'lib/sequel/extensions/sqlite_json_ops.rb', line 198 def tree(*args) SQL::Function.new(:json_tree, self, *args) end |