Skip to content

Commit d5c49c6

Browse files
committed
Revert readme changes
1 parent 25cda59 commit d5c49c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ The `ZongJi` constructor accepts one argument of either:
7575

7676
If a `Connection` or `Pool` object is passed to the constructor, it will not be destroyed/ended by Zongji's `stop()` method.
7777

78+
If there is a `dateStrings` `mysql` configuration option in the connection details or connection, `ZongJi` will follow it.
79+
7880
Each instance includes the following methods:
7981

8082
| Method Name | Arguments | Description |
@@ -137,6 +139,7 @@ Neither method requires any arguments.
137139
- :star2: [All types allowed by `mysql`](https://github.com/mysqljs/mysql#type-casting) are supported by this package.
138140
- :speak_no_evil: 64-bit integer is supported via package big-integer(see #108). If an integer is within the safe range of JS number (-2^53, 2^53), a Number object will returned, otherwise, will return as String.
139141
- :point_right: `TRUNCATE` statement does not cause corresponding `DeleteRows` event. Use unqualified `DELETE FROM` for same effect.
142+
- When using fractional seconds with `DATETIME` and `TIMESTAMP` data types in MySQL > 5.6.4, only millisecond precision is available due to the limit of Javascript's `Date` object.
140143

141144
## Run Tests
142145

0 commit comments

Comments
 (0)