Constructor
new DynamoScan(dynamoCredentials, dynamoRegion)
Constructor for DynamoScan
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 |
- Source:
Methods
(async) scanTable(tableName) → {Promise.<object.<any>>}
Method to scan table in Dynamo
Parameters:
Name | Type | Description |
---|---|---|
tableName |
string | Table to scan |
- Source:
Returns:
An object containing the read data
- Type
- Promise.<object.<any>>