Skip to content

Commit fdf013a

Browse files
committed
ReadMe fix ClickHouseDB\Quote\FormatLine
1 parent 06a890c commit fdf013a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -511,20 +511,20 @@ Class for FormatLine array
511511

512512
```php
513513
var_dump(
514-
\ClickHouseDB\FormatLine::CSV(
514+
ClickHouseDB\Quote\FormatLine::CSV(
515515
['HASH1', ["a", "dddd", "xxx"]]
516516
)
517517
);
518518

519519
var_dump(
520-
\ClickHouseDB\FormatLine::TSV(
520+
ClickHouseDB\Quote\FormatLine::TSV(
521521
['HASH1', ["a", "dddd", "xxx"]]
522522
)
523523
);
524524

525525
// example write to file
526526
$row=['event_time'=>date('Y-m-d H:i:s'),'arr1'=>[1,2,3],'arrs'=>["A","B\nD\nC"]];
527-
file_put_contents($fileName,\ClickHouseDB\FormatLine::TSV($row)."\n",FILE_APPEND);
527+
file_put_contents($fileName,ClickHouseDB\Quote\FormatLine::TSV($row)."\n",FILE_APPEND);
528528
```
529529

530530
### Cluster drop old Partitions

0 commit comments

Comments
 (0)