parseUpdate
function parseUpdate(update, attributeExpressionMap): UpdateParserResult;Parses an update object into a DynamoDB update expression string along with an attribute expression map.
If the secondary attributeExpressionMap parameter is not provided, a new instance will be created.
This allows for reusing an existing map when building complex expressions with other parser functions.
Parameters
Section titled “Parameters”update
Section titled “update”The update object to parse.
attributeExpressionMap
Section titled “attributeExpressionMap”AttributeExpressionMap = ...
An optional AttributeExpressionMap instance to use for attribute names and values.
Returns
Section titled “Returns”Throws
Section titled “Throws”DocumentBuilderError if the update object is empty.