Skip to content

CommonThread/dynamo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dynamodb-crud

Basic CRUD operations for dynamo DB

Source available here


getItem
Param Type Description
docClient DocumentClient AWS Dynamodb DocumentClient
tableName string table name string
field string search field name
value string search field value

getItems
Param Type Description
docClient DocumentClient AWS Dynamodb DocumentClient
tableName string table name string

getItemById
Param Type Description
docClient DocumentClient AWS Dynamodb DocumentClient
tableName string table name string
id string id field value
idField string id field name
rangeId string rangeId field value
rangeIdField string rangeIdField field name

insertItem
Param Type Description
docClient DocumentClient AWS Dynamodb DocumentClient
tableName string table name string
item object object to insert

updateItem
Param Type Description
docClient DocumentClient AWS Dynamodb DocumentClient
tableName string table name string
data object data to update with
id string id field value
idField string id field name

deleteItem
Param Type Description
docClient DocumentClient AWS Dynamodb DocumentClient
tableName string table name string
keys string array field names to update
keyValues string array field value to update

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published