UPDATE
"{{ usersTable.selectedRow.id }}"
WITH
{
    status: "APPROVED"
}
IN users

// usersTable is an example table widget from where the id is being read. Replace it with your own Table widget or a
// static value. To understand more please check out: https://docs.appsmith.com/core-concepts/capturing-data-write
// Read more at https://www.arangodb.com/docs/stable/aql/