Categorygithub.com/kienpham2000/dynamodb-batchwriter
modulepackage
1.0.1
Repository: https://github.com/kienpham2000/dynamodb-batchwriter.git
Documentation: pkg.go.dev

# README

dynamodb-batchwriter

DyanmoDB BatchWriter

# Functions

New creates a new BatchWriter that will write to table `tableName` using `client`.
NewWithPrimaryKeys creates a new BatchWriter using `primaryKeys` as the specified primary keys instead of getting them from a call to DescribeTable.
WrapDeleteItem wraps a DeleteRequest to use with BatchWriter.Add.
WrapPutItem wraps a PutRequest to use with BatchWriter.Add.

# Structs

BatchWriter wraps a dynamodb client to expose a simple API that buffers requests and takes advantage of BatchWriteItem behind the scenes.