We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e22aef commit 7c6d64cCopy full SHA for 7c6d64c
src/index.ts
@@ -233,7 +233,7 @@ export class DynamoPlus {
233
}
234
235
async scanAll <ExpectedReturnType = unknown>(params: ScanCommandInput, pageSize = 100): Promise<ExpectedReturnType[]> {
236
- const paginator = paginateQuery({ client: this.client, pageSize }, params)
+ const paginator = paginateScan({ client: this.client, pageSize }, params)
237
const results = []
238
for await (const page of paginator) {
239
if (page.Items) results.push(...(page.Items as ExpectedReturnType[]))
0 commit comments