File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -144,9 +144,10 @@ Using `withHeaders` will skip the first row of the CSV file.
144144
145145> [!IMPORTANT]
146146> 1. `withHeaders` must be called before the `into` method.
147- > 2. This method assumes that the headers are the same as the columns. Non existent columns will be set as FILLER.
148- > 3. If the headers are different from the columns, you should define the `columns` in the `into` method.
149- > 4. This works well with the Eloquent Collection as the data source and saving it to a CSV file for bulk import.
147+ > 2. This method assumes that the headers are the same as the table columns.
148+ > 3. Non-existent columns will be flagged as `FILLER`.
149+ > 4. Date headers will be automatically detected and data type is appended as `DATE`. values must follow the default date format.
150+ > 5. If the headers are different from the table columns, you should define the `columns` in the `into` method.
150151
151152#### Building a CSV File from Eloquent Collection
152153
You can’t perform that action at this time.
0 commit comments