mapping.delete
Deletes a mapping and all its rows. To keep the mapping and remove its rows, use mapping.wipe.
js
mapping.delete(mappingName)Parameters
| Parameter | Type | Description |
|---|---|---|
mappingName | string | The mapping's name or id. |
Returns
booleantrue if the mapping was deleted, otherwise false.
Examples
js
const res = mapping.delete("Time to Year and Month");