Constructor
new DynamoReadBatch(dynamoCredentials, dynamoRegion, tableName)
Constructor for DynamoReadBatch
Parameters:
Name | Type | Description |
---|---|---|
dynamoCredentials |
module:dynamo.DynamoCredentials | The credentials for a Dynamo table |
dynamoRegion |
string | The region of the Dynamo table we're using |
tableName |
string | The name of the table we want to store data in |
- Source:
Methods
(async) readItems(readItems) → {object.<any>}
Method to read items from Dynamo
Parameters:
Name | Type | Description |
---|---|---|
readItems |
Array.<module:DynamoReadBatch.ReadBatchItem> | Items to read from the Dynamo table |
- Source:
Returns:
An object containing the read data
- Type
- object.<any>