The field to insert, 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
Inserts a field in a files' metadata. If the field already exists, this method will throw.
Throws
Error If the field already exists.
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, butfoodoes not exist in the metadata this method will throw.Throws
OPDTraversalError If field is an invalid path to a metadata field.