dynamo-easy
  • Introduction
  • Browser vs. Node usage
  • Get Started
    • Installation
    • Jump into code
  • API Doc
    • Config
      • Dynamo-Easy Config
      • AWS SDK Config
    • Model
      • Decorators
      • Mapping Concept
      • CustomMapper
    • Dynamo Store
      • Model Requests
    • Multi-Model Requests
    • Expressions (conditions, update)
Powered by GitBook
On this page

Was this helpful?

  1. API Doc

Dynamo Store

The DynamoStore provides an easy way to execute requests to a single table.

PreviousCustomMapperNextModel Requests

Last updated 6 years ago

Was this helpful?

store.snippet.ts
import { DynamoStore } from '@shiftcoders/dynamo-easy'
import { Person } from './models'

const personStore = new DynamoStore(Person)

You can provide a DynamoDB client instance when creating a new DynamoStore instance:new DynamoStore(Person, myDynamoDBClient)

DynamoStore | @shiftcoders/dynamo-easy