Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dynamodb-doc-client-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamodb-doc-client-wrapper - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

3

index.js

@@ -171,3 +171,4 @@ 'use strict';

batchWrite: batchWrite,
batchWriteBasic: params => documentClient.batchWrite(params)
batchWriteBasic: params => documentClient.batchWrite(params),
update: params => documentClient.update(params)
};

@@ -13,3 +13,4 @@ 'use strict';

put: params => documentClient.put(params).promise(),
batchWrite: params => documentClient.batchWrite(params).promise()
batchWrite: params => documentClient.batchWrite(params).promise(),
update: params => documentClient.update(params).promise()
};

@@ -7,3 +7,3 @@ {

},
"version": "1.2.0",
"version": "1.3.0",
"engines": {

@@ -10,0 +10,0 @@ "node": ">=4.3"

@@ -247,2 +247,17 @@ # dynamodb-doc-client-wrapper

### Update
```js
const clientWrapper = require('dynamodb-doc-client-wrapper');
yield clientWrapper.update({
TableName: 'Table',
Key: { HashKey : 'hashkey' },
UpdateExpression: 'set #a = :x + :y',
});
```
This is a simple pass-through wrapper around the
`AWS.DynamoDB.DocumentClient.update` method.
### Delete

@@ -249,0 +264,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc