`Datastore.save` on updating field is not working

0

I was trying to practice the below copy, but the response returned does not show updated data nor it doesn't update dynamodb

const updatedPost = await DataStore.save(
      Post.copyOf(original, updated => {
        updated.title = newTitle
      })
    );
已提问 9 个月前120 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容