Skip to content

NoBrainSkull/dynamo-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamo Connector

All in here is used to fetch data from dynamo a dynamo table.

Docs

add({ args, params = null, options })

Extend : DynamoDB - put

new Table().add({
  args: {
    string: "String",
    object: {"Object"},
    array: ["Array"],
    numeric: "Numeric"
  },
  params: {
    DynamodbParams
  },
  options: {
    customPrimaryKey: "Boolean"
  }
})

query(params = null)

Extend : DynamoDB - query

new Table().query({
  DynamodbParams
})

find(params = null)

Extend : DynamoDB - scan

new Table().find({
  DynamodbParams
})

findById(key, params = null)

Extend : DynamoDB - get

new Table().findById({
  primaryKey: "String",
  sortingKey: "String"
},
{
  DynamodbParams
})

About

A basic wrapper to use dynamoDb in Nutshell serverless apps.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors