`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ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ