Class: Dynamodb::Api::Relation::WhereClause

Inherits:
Object
  • Object
show all
Defined in:
lib/dynamodb/api/relation/where_clause.rb

Overview

:nodoc:

Constant Summary collapse

KEY =
0
VALUE =
2
OPERATOR =
1

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key_conditions) ⇒ WhereClause

Returns a new instance of WhereClause.



13
14
15
# File 'lib/dynamodb/api/relation/where_clause.rb', line 13

def initialize(key_conditions)
  @key_conditions = build(key_conditions)
end

Instance Attribute Details

#key_conditionsObject (readonly)

Returns the value of attribute key_conditions.



7
8
9
# File 'lib/dynamodb/api/relation/where_clause.rb', line 7

def key_conditions
  @key_conditions
end