snowflake-sdk
Version:
Node.js driver for Snowflake
28 lines (27 loc) • 714 B
TypeScript
export = RowStream;
/**
* Creates a stream that can be used to read a statement result row by row.
*
* @param {Object} statement
* @param {Object} context
* @param {Object} [options]
* @constructor
*/
declare function RowStream(statement: Object, context: Object, options?: Object): void;
declare class RowStream {
/**
* Creates a stream that can be used to read a statement result row by row.
*
* @param {Object} statement
* @param {Object} context
* @param {Object} [options]
* @constructor
*/
constructor(statement: Object, context: Object, options?: Object);
/**
* Reads the next row in the result.
*
* @private
*/
private _read;
}