Dynamo Store

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

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)

Last updated