Skip to content

Commit 50eda1e

Browse files
authored
fix: make maxResults optional (#14)
1 parent d24b583 commit 50eda1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/athena-query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class AthenaQuery {
1515

1616
async *query(
1717
sql: string,
18-
options?: { executionParameters?: string[]; maxResults: number }
18+
options?: { executionParameters?: string[]; maxResults?: number }
1919
): AsyncGenerator<helpers.AtheneRecordData, void, undefined> {
2020
const QueryExecutionId = await helpers.startQueryExecution({
2121
athena: this.athena,

0 commit comments

Comments
 (0)