Store
Creating a store
Create a store
import { Store } from '@declanprice/dynostore';
import { DynamoDBClient } from '@aws-sdk/client-dynamodb';
const store = new Store('CustomerTable', new DynamoDBClient());
Execute a query
execute a query
const customer = await store.get<CustomerItem>().key({ id: customer.id }).exec();