Skip to content

Instantly share code, notes, and snippets.

@KevinVR
Created July 22, 2021 18:26
Show Gist options
  • Select an option

  • Save KevinVR/5eeac47b89458c2b2ceede40c9b69b0f to your computer and use it in GitHub Desktop.

Select an option

Save KevinVR/5eeac47b89458c2b2ceede40c9b69b0f to your computer and use it in GitHub Desktop.
const docClient = new AWS.DynamoDB.DocumentClient();
var params = {
TableName: 'users',
Key: {
"email": emailAddress,
"phone": phoneNumber
}
};
const result = await docClient.get(params).promise();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment