in src/connectors/sql-stream-connector.ts [18:27]
public stream(query?: string) {
query = query || this.config.query;
if (!query) {
throw new Error('query cannot be null or empty');
}
return this.client
.raw(query)
.stream()
.on('end', () => this.client.destroy());
}