dynamodb-query-builder
v0.1.0
Published
```javascript const { DynamoDBClient } = require('@aws-sdk/client-dynamodb') const { QueryCommand } = require('@aws-sdk/lib-dynamodb')
Downloads
1
Readme
DynamoDB Query Builder
const { DynamoDBClient } = require('@aws-sdk/client-dynamodb')
const { QueryCommand } = require('@aws-sdk/lib-dynamodb')
const qb = new QueryBuilder()
const input = qb
.table('music')
.where({ status: 'foobar' })
.build()
const client = new DynamoDBClient({ region: 'ap-northeast-1' })
await client.send(new QueryCommand(input))