Module: ActiveRecord::Refined::AST::ComputedJson

Included in:
JsonAggregate, JsonBuild, JsonKeys
Defined in:
lib/active_record/refined/ast.rb

Overview

JSON the query computes rather than reads out of a document: always a JSON value, with no dig_text counterpart for JsonComparable's advice to name. Included after JsonComparable, whose own arithmetic_refusal it overrides.

Instance Method Summary collapse

Instance Method Details

#json_value?Boolean

Returns:

  • (Boolean)


823
824
825
# File 'lib/active_record/refined/ast.rb', line 823

def json_value?
  true
end