#✅ - Conditions when interacting with data

3 messages · Page 1 of 1 (latest)

subtle kettle
#

Is there a way to set conditions when interacting with data through https://docs.amplify.aws/react/build-a-backend/data/mutate-data/#update-an-item. If you generate graphql code you can set them with client.graphql({ query: updateTodo, variables: { condition: { /* condition */}, input: {id: 'todo_id', content: 'new_content'}}.

fiery robin
inner jasperBOT
#

✅ - Conditions when interacting with data