Skip to content
This repository was archived by the owner on Jun 16, 2023. It is now read-only.

Commit 4ba8596

Browse files
committed
Including details about MySQL zeroed dates
1 parent 6db0d9c commit 4ba8596

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mysql-async/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ You can find more information about the MySQL network protocol [here](http://dev
2929
sense, that is how it was implemented at the database and as a driver we need to stay true to it, so, while you
3030
**can** send `java.sql.Time` and `LocalTime` objects to the database, when reading these values you will always
3131
receive a `scala.concurrent.Duration` object since it is the closest thing we have to what a `time` value in MySQL means.
32+
* MySQL can store dates with values like `0000-00-00` or `0000-00-00 00:00:00` but it's not possible to represent dates like this in Java (nor there would actually be a date with a zero day or month, this is just MySQL being lenient on invalid dates) so the driver just returns `null` for any case like that.
3233

3334
## Supported types
3435

0 commit comments

Comments
 (0)