@nutshelllab/dynamo-wrapper

1.1.17 • Public • Published

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
})

/@nutshelllab/dynamo-wrapper/

    Package Sidebar

    Install

    npm i @nutshelllab/dynamo-wrapper

    Weekly Downloads

    4

    Version

    1.1.17

    License

    GPL-3.0

    Unpacked Size

    204 kB

    Total Files

    8

    Last publish

    Collaborators

    • 7hanith
    • bluer4v3n
    • vblitz