Class: DynamoidAdvancedWhere::Nodes::IntegerSetAttributeNode

Inherits:
FieldNode show all
Includes:
Concerns::SupportsIncludes
Defined in:
lib/dynamoid_advanced_where/nodes/field_node.rb

Instance Attribute Summary

Attributes inherited from FieldNode

#attr_prefix, #field_path

Attributes inherited from BaseNode

#expression_prefix

Instance Method Summary collapse

Methods included from Concerns::SupportsIncludes

#includes?

Methods inherited from FieldNode

create_node, #expression_attribute_names, #expression_attribute_values, #initialize, #to_expression

Methods included from Concerns::SupportsExistance

#exists?

Methods included from Concerns::SupportsEquality

#eq, #not_eq

Methods inherited from BaseNode

#expression_attribute_names, #expression_attribute_values

Constructor Details

This class inherits a constructor from DynamoidAdvancedWhere::Nodes::FieldNode

Instance Method Details

#parse_right_hand_side(val) ⇒ Object

Raises:

  • (ArgumentError)


127
128
129
130
131
# File 'lib/dynamoid_advanced_where/nodes/field_node.rb', line 127

def parse_right_hand_side(val)
  raise ArgumentError, "unable to compare integer value to type #{val.class}" unless val.is_a?(Integer)

  val
end