Hello! I hope this is a simple question for you all, I need to be able to update any field with a certain value. is there a way for me to make the field name that I want to update into a variable so I can change which field I want to edit?
var varField = 'fieldnameOrID'
base(TableHere).update(RecordHere, {
varField: "done",
}, function(err, record) {
if (err) {
console.error(err);
return;
}
});
this is something like what I would want to do. any help?