Skip to content

Commit 5bf3c5e

Browse files
authored
Merge pull request #125 from greevex/patch-1
WriteToFile: support for JSONEachRow format
2 parents 239994d + f793930 commit 5bf3c5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Query/WriteToFile.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ class WriteToFile
1313
const FORMAT_TabSeparatedWithNames = 'TabSeparatedWithNames';
1414
const FORMAT_CSV = 'CSV';
1515
const FORMAT_CSVWithNames = 'CSVWithNames';
16+
const FORMAT_JSONEACHROW = 'JSONEachRow';
1617

17-
private $support_format = ['TabSeparated', 'TabSeparatedWithNames', 'CSV', 'CSVWithNames'];
18+
private $support_format = ['TabSeparated', 'TabSeparatedWithNames', 'CSV', 'CSVWithNames', 'JSONEachRow'];
1819
/**
1920
* @var string
2021
*/

0 commit comments

Comments
 (0)