Skip to content

Commit

Permalink
Merge pull request #125 from greevex/patch-1
Browse files Browse the repository at this point in the history
WriteToFile: support for JSONEachRow format
  • Loading branch information
isublimity committed Sep 20, 2019
2 parents 239994d + f793930 commit 5bf3c5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Query/WriteToFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ class WriteToFile
const FORMAT_TabSeparatedWithNames = 'TabSeparatedWithNames';
const FORMAT_CSV = 'CSV';
const FORMAT_CSVWithNames = 'CSVWithNames';
const FORMAT_JSONEACHROW = 'JSONEachRow';

private $support_format = ['TabSeparated', 'TabSeparatedWithNames', 'CSV', 'CSVWithNames'];
private $support_format = ['TabSeparated', 'TabSeparatedWithNames', 'CSV', 'CSVWithNames', 'JSONEachRow'];
/**
* @var string
*/
Expand Down

0 comments on commit 5bf3c5e

Please sign in to comment.