Initialize UpdateExpression with existing or new ExpressionAttributes.
Object used to get path and value aliases.
Array of ADD expressions.
Object to support getting path and value aliases.
Array of DELETE expressions.
Array of REMOVE expressions.
Array of SET expressions.
Append an ADD
update expression.
Expression to add to the ADD
array.
Append an DELETE
update expression.
Expression to add to the DELETE
array.
See ExpressionAttributes.addPath for details.
Append a REMOVE
update expression.
Expression to add to the REMOVE
array.
Append a SET
update expression.
Expression to add to the SET
array.
See ExpressionAttributes.addValue for details.
Helper method to build an UpdateExpression string appending all of the expressions from the lists that are not empty.
UpdateExpression based string.
Resolves each key of a map to an Update.Expression.
Map of update values and resolvers to evaluate.
Name alias of the parent attribute, prepends each key name
Resolves the key and value for a map or set array.
The default fallback function that resolves the map value.
Function to get the path after checking value for undefined.
The value of the map key.
Helper method used in update methods that do not support string attributes, like add or sub. This then allows string values to act as paths, without having to wrap the path in a resolver. For strings based attributes, like set, need to use the path() function to wrap the path.
The value, update resolver or path string to add and get back an alias.
Name used to pass down to the value resolver.
Alias or expression for value to use in expression.
Add value or resolve value function to get back alias or resolved string. To allow the value to reference a path, the value needs to be a resolver.
Value to add or resolve.
Name used to pass down to the value resolver.
Alias or expression for value to use in expression.
Helper function to set a 'UpdateExpression' value on the params argument if there are update expressions to resolve.
Params used for DocumentClient update method.
Map of update values and resolvers to evaluate.
The params argument passed in.
Helper function that resolves the updateMap and returns an UpdateExpression to use in DocumentClient.update method calls.
Map of update values and resolvers to evaluate.
Used when calling update resolver function to store the names and values mappings and update expressions.
Update expression to use in UpdateExpression for DocumentClient.update method calls.
Generated using TypeDoc
Object passed into all Update.Resolver functions to support getting path and value aliases, appending update conditions to SET, REMOVE, ADD and DELETE update arrays and provide context to the resolver function to support advanced update resolvers.