The deleteFieldByPath
method removes all document fields with the specified path.
deleteFieldByPath( path )
Argument | Description |
---|---|
path
|
(string) The path of the field(s) to delete. |
document:deleteFieldByPath("my/metadata/subfield")
|