Skip to content

Provide batch write method #5

@MarioArnt

Description

@MarioArnt

Currently there is no batch write method.
Provide an overlay over DocumentClient.batchWrite that automatically split array of operations in batch respecting the AWS limitations.

A single BatchWriteItem request can contain up to 25 write requests (PutItem or DeleteItem)

To perform a batch write operation using the AWS SDK DocumentClient v3, you can use the batchWrite method. This method allows you to perform batch write operations on one or more tables in a DynamoDB database.

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-lib-dynamodb/Class/BatchWriteCommand/

The compatibility with autoCreatedAt and autoUpdatedAt must be maintained with this new method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions