The field to update, this can also be a path to a nested object e.g. foo.bar
,
a path to a specific index in an array e.g. foo[0]
or any combination of those e.g. foo['bar'].baz[0]
,
like you are used to from javascript, except that the ?
operator is not supported.
The new value of the field.
unused for now
Generated using TypeDoc
Updates a field in a files' metadata. If the field does not exist, this method will throw.
Throws
Error If the field does not exist.
Throws
Error If the parent of the field to update/insert does not exist, e.g. if the method is called with the field
foo.bar
, butfoo
does not exist in the metadata this method will throw.Throws
OPDTraversalError If field is an invalid path to a metadata field.