Class: Dynamodb::Api::Query
- Inherits:
-
Object
- Object
- Dynamodb::Api::Query
- Includes:
- Relation
- Defined in:
- lib/dynamodb/api/query.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Attributes included from Relation
#filter_clause, #from_clause, #index_clause, #order_clause, #select_clause, #where_clause
Instance Method Summary collapse
- #all ⇒ Object
-
#initialize ⇒ Query
constructor
A new instance of Query.
Methods included from QueryMethods
#filter, #from, #index, #order, #select, #where
Constructor Details
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
9 10 11 |
# File 'lib/dynamodb/api/query.rb', line 9 def client @client end |
Instance Method Details
#all ⇒ Object
15 16 17 |
# File 'lib/dynamodb/api/query.rb', line 15 def all @client.query(build_query) end |