-
I am splitting a large dataset into several export files, only the first file needs a heading row as I will merge them together. I have public function headings(): array
{
if ($this->is_chunked) {
return [];
}
switch ($this->data_type) {
// ...
}
} But it seems the empty array still takes 1 empty row in the export file.. Is that possible to disable the headings conditionally? |
Beta Was this translation helpful? Give feedback.
Answered by
convers39
Dec 16, 2021
Replies: 1 comment
-
OK I read the source and realize it should be something else, and I found the problem that I manually add a |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
patrickbrouwers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK I read the source and realize it should be something else, and I found the problem that I manually add a
\n
when merging the files. This could be closed.