Skip to content

Commit

Permalink
fix(typings): Add the infileStreamFactory option to the type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
dimenon committed Dec 29, 2021
1 parent 6fae0c2 commit bf9cc4c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions typings/mysql/lib/protocol/sequences/Query.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ declare namespace Query {
*
*/
rowsAsArray?: boolean

/**
* By specifying a function that returns a readable stream, an arbitrary stream can be sent when sending a local fs file.
*/
infileStreamFactory?: (path: string) => Readable;
}

export interface StreamOptions {
Expand Down

0 comments on commit bf9cc4c

Please sign in to comment.