Created
September 18, 2017 19:58
-
-
Save rasmushjulskov/4832711684e49ee391714143cc75e0a9 to your computer and use it in GitHub Desktop.
update-expression.js
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
| UpdateExpression: [ | |
| 'remove connections[:ActivityConnectionFrom|:ActivityConnectionTo]', | |
| ], | |
| ExpressionAttributeValues: { | |
| ':ActivityConnectionFrom': activityConnection.from, | |
| ':ActivityConnectionTo': activityConnection.to, | |
| }, |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error:
Error: GraphQL error: Invalid UpdateExpression: Syntax error; token: ":ActivityConnectionFrom", near: "REMOVE :ActivityConnectionFrom"