【文件属性】:
文件名称:dynamodb-read-stream:读取DynamoDB的流实现
文件大小:11KB
文件格式:ZIP
更新时间:2021-03-20 20:44:51
TypeScript
动力读流
一个开源工具,用于逐块读取数据。创建此工具是为了处理一个响应(1 MB)的DynamoDB限制。该库提供了DynamoDB的读取流实现。
用法示例
查询阅读器
const reader = new DocumentClientQueryReadable (
new DocumentClient ( ) , {
TableName : 'someTable' ,
KeyConditionExpression : 'key = :primaryKey' ,
ExpressionAttributeValues : {
':primaryKey' : 'someValue'
}
} )
const transformOutput = new Transform ( {
objectMode : true ,
transform ( chunk : Do
【文件预览】:
dynamodb-read-stream-master
----package.json(823B)
----LICENSE(11KB)
----src()
--------DocumentClientScanReadable.ts(354B)
--------interfaces()
--------index.ts(91B)
--------sources()
--------AbstractReader.ts(665B)
--------DocumentClientQueryReadable.ts(359B)
----.npmignore(49B)
----tsconfig.json(282B)
----.gitignore(47B)
----.circleci()
--------config.yml(1KB)
----README.md(1KB)