#Update status check
1 messages · Page 1 of 1 (latest)
You can also do:
await ctx.db.patch(data._id, { flight_id: args.new_flight_id });
What do you mean by "check update status" exactly?
I need to give feedback on whether the data has been updated or not. How can I do that?
What is the difference between replace and patch? Why should I use Patch?