Created
May 2, 2019 18:00
-
-
Save robzhu/4fcb4c74db7c957e7e0711c59786831e to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
TableName, | |
Key, | |
UpdateExpression: `REMOVE friends[${indexToRemove}]`, | |
ConditionExpression: `friends[${indexToRemove}] = :valueToRemove`, | |
ExpressionAttributeValues: { | |
":valueToRemove": friendName | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment