Module: DynamoidAdvancedWhere::Nodes::Concerns::SupportsSubFields

Included in:
DynamoidAdvancedWhere::Nodes::CustomClassAttributeNode, MapAttributeNode, RawAttributeNode
Defined in:
lib/dynamoid_advanced_where/nodes/subfield.rb

Instance Method Summary collapse

Instance Method Details

#sub_field(*path, options) ⇒ Object Also known as: dig



7
8
9
10
11
12
# File 'lib/dynamoid_advanced_where/nodes/subfield.rb', line 7

def sub_field(*path, options)
  Nodes::FieldNode.create_node(
    field_path: field_path + path,
    attr_config: options
  )
end