We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2485d2a commit f710075Copy full SHA for f710075
README.md
@@ -72,6 +72,15 @@ The default execution mode is `Mode::APPEND`. The package supports the following
72
- `Yajra\SQLLoader\Mode::REPLACE` - Replace data in table.
73
- `Yajra\SQLLoader\Mode::TRUNCATE` - Truncate table then insert data.
74
75
+## Date Formats
76
+
77
+The SQL*Loader default date format is `YYYY-MM-DD"T"HH24:MI:SS."000000Z"` to match Laravel's model date serialization.
78
+You can change the date format using the `dateFormat` method.
79
80
+```php
81
+$loader->dateFormat('YYYY-MM-DD HH24:MI:SS');
82
+```
83
84
## Available Methods
85
86
### Options
0 commit comments