Skip to content

Commit

Permalink
Fixed example by adding next();
Browse files Browse the repository at this point in the history
  • Loading branch information
afanasy committed Nov 25, 2015
1 parent 6d89446 commit 5eae1c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/bigquery/job.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ nodeutil.inherits(Job, ServiceObject);
* job.getQueryResults()
* .pipe(through2.obj(function (row, enc, next) {
* this.push(JSON.stringify(row) + '\n');
* next();
* }))
* .pipe(fs.createWriteStream('./test/testdata/testfile.json'));
*/
Expand Down

0 comments on commit 5eae1c5

Please sign in to comment.