Created
July 22, 2021 18:26
-
-
Save KevinVR/5eeac47b89458c2b2ceede40c9b69b0f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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