Skip to content

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.

UpdateValues

The update object to parse.

AttributeExpressionMap = ...

An optional AttributeExpressionMap instance to use for attribute names and values.

UpdateParserResult

DocumentBuilderError if the update object is empty.