Module: Sequel::SQLite::JSONOpMethods

Included in:
LiteralString, Sequel::SQL::GenericExpression, Symbol
Defined in:
lib/sequel/extensions/sqlite_json_ops.rb

Instance Method Summary collapse

Instance Method Details

#sqlite_json_opObject

Wrap the receiver in an JSONOp so you can easily use the SQLite json functions and operators with it.



256
257
258
# File 'lib/sequel/extensions/sqlite_json_ops.rb', line 256

def sqlite_json_op
  JSONOp.new(self)
end

#sqlite_jsonb_opObject

Wrap the receiver in an JSONBOp so you can easily use the SQLite jsonb functions and operators with it.



262
263
264
# File 'lib/sequel/extensions/sqlite_json_ops.rb', line 262

def sqlite_jsonb_op
  JSONBOp.new(self)
end