Updating extra field when transferring token

Hi Everyone,
I have created one extra field to the transfer table and want to set data to the new table while using Moralis.transfer(options)
Looking forward to your help

What data you want to set in that table?
You may be able to use beforeSave or afterSave trigger.

Hi Cryptokid,
I want to set a custom data to the table. Please share how to use afterSave trigger. Thanks


Moralis.Cloud.afterSave("EthTransactions", async function(request) {
  const confirmed = request.object.get("confirmed");
  if (confirmed) {
    // do something
  } else {
    // handle unconfirmed case