mikro-orm-temporal 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,6 +13,9 @@ The library exports the following types:
|
|
|
13
13
|
- `PlainDateTimeType`
|
|
14
14
|
- `PlainTimeType`
|
|
15
15
|
- `OffsetDateTimeType`
|
|
16
|
+
- `InstantType`
|
|
17
|
+
- `PlainMonthDayType`
|
|
18
|
+
- `PlainYearMonthType`
|
|
16
19
|
|
|
17
20
|
## Installation
|
|
18
21
|
|
|
@@ -44,5 +47,5 @@ export class HelloWorld {
|
|
|
44
47
|
Due to MikroORM not distinguishing between timestamps with and without timezone and some other quirks, this library
|
|
45
48
|
makes some assumptions and decisions:
|
|
46
49
|
|
|
47
|
-
- Durations are stored as `INTERVAL` in Postgres and as `
|
|
50
|
+
- Durations are stored as `INTERVAL` in Postgres and as `VARCHAR` (ISO string) on all other platforms.
|
|
48
51
|
- `PlainDateTime` is stored as `VARCHAR(19)` on MSSQL, as Tedious introduces timezone issues.
|