Class: Dynamodb::Api::Query

Inherits:
Object
  • Object
show all
Includes:
Relation
Defined in:
lib/dynamodb/api/query.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Attributes included from Relation

#filter_clause, #from_clause, #index_clause, #order_clause, #select_clause, #where_clause

Instance Method Summary collapse

Methods included from QueryMethods

#filter, #from, #index, #order, #select, #where

Constructor Details

#initializeQuery



11
12
13
# File 'lib/dynamodb/api/query.rb', line 11

def initialize
  @client = Adapter.new.client
end

Instance Attribute Details

#clientObject (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

#allObject



15
16
17
# File 'lib/dynamodb/api/query.rb', line 15

def all
  @client.query(build_query)
end