Method: Sequel::SQLite::JSONBaseOp#each
- Defined in:
- lib/sequel/extensions/sqlite_json_ops.rb
permalink #each(*args) ⇒ Object
Returns an expression for a set of information extracted from the top-level members of the JSON array or object, or the top-level members of the JSON array or object at the given path.
json_op.each # json_each(json)
json_op.each('$.a') # json_each(json, '$.a')
111 112 113 |
# File 'lib/sequel/extensions/sqlite_json_ops.rb', line 111 def each(*args) SQL::Function.new(:json_each, self, *args) end |