Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: @aws/dynamodb-expressions
node v8.17.0
version:
1.0.0
endpoint
share
tweet
const { AttributePath, ExpressionAttributes, MathematicalExpression, UpdateExpression, } = require("@aws/dynamodb-expressions") const attributes = new ExpressionAttributes; const updateExpression = new UpdateExpression; updateExpression.set('Replies', new MathematicalExpression(new AttributePath('Replies'), '+', 33)); console.log(updateExpression.serialize(attributes)); console.log(attributes.names); console.log(attributes.values); console.log(attributes.values[':val1']);
Created from: https://npm.runkit.com/@aws/dynamodb-expressions
Loading…
no comments
sign in
to comment