Variable updateFieldAtomConst

updateFieldAtom: WritableAtom<null, IUpdateFieldOptions, Promise<void>> & WithInitialValue<null> = ...

Set function updates or deletes a field in a row. Adds to rowsDb if it has no missing required fields, otherwise keeps in rowsLocal.

Param

IUpdateFieldOptions

Example

Basic usage:

const updateField = useSetAtom(updateFieldAtom, tableScope);
updateField({ path, fieldName: "", value: null, deleteField: true });

Generated using TypeDoc