module RubyAemAws::DynamoDB
Mixin for interaction with AWS DynamoDB
Public Instance Methods
query(filter)
click to toggle source
@param filter Filter to query for @return queried attribute
# File lib/ruby_aem_aws/client/dynamo_db.rb, line 29 def query(filter) # We need to give AWS time to update the DynamoDB # consistent_read seems not to work everytime sleep 5 dynamodb_client.query(filter) end
scan(filter)
click to toggle source
@param filter Filter to scan for @return scanned attribute
# File lib/ruby_aem_aws/client/dynamo_db.rb, line 20 def scan(filter) # We need to give AWS time to update the DynamoDB # consistent_read seems not to work everytime sleep 5 dynamodb_client.scan(filter) end