@mikro-orm/postgresql 6.4.15-dev.3 → 6.4.15-dev.5
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/PostgreSqlConnection.js +2 -2
- package/package.json +4 -4
package/PostgreSqlConnection.js
CHANGED
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.PostgreSqlConnection = void 0;
|
|
7
|
-
const
|
|
7
|
+
const pg_1 = require("pg");
|
|
8
8
|
const postgres_array_1 = __importDefault(require("postgres-array"));
|
|
9
9
|
const knex_1 = require("@mikro-orm/knex");
|
|
10
10
|
class PostgreSqlConnection extends knex_1.AbstractSqlConnection {
|
|
@@ -19,7 +19,7 @@ class PostgreSqlConnection extends knex_1.AbstractSqlConnection {
|
|
|
19
19
|
getConnectionOptions() {
|
|
20
20
|
const ret = super.getConnectionOptions();
|
|
21
21
|
// use `select typname, oid, typarray from pg_type order by oid` to get the list of OIDs
|
|
22
|
-
const types = new
|
|
22
|
+
const types = new pg_1.TypeOverrides();
|
|
23
23
|
[
|
|
24
24
|
1082, // date
|
|
25
25
|
1114, // timestamp
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/postgresql",
|
|
3
|
-
"version": "6.4.15-dev.
|
|
3
|
+
"version": "6.4.15-dev.5",
|
|
4
4
|
"description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.mjs",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@mikro-orm/knex": "6.4.15-dev.
|
|
62
|
-
"pg": "8.
|
|
61
|
+
"@mikro-orm/knex": "6.4.15-dev.5",
|
|
62
|
+
"pg": "8.15.6",
|
|
63
63
|
"postgres-array": "3.0.4",
|
|
64
64
|
"postgres-date": "2.1.0",
|
|
65
65
|
"postgres-interval": "4.0.2"
|
|
@@ -68,6 +68,6 @@
|
|
|
68
68
|
"@mikro-orm/core": "^6.4.14"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@mikro-orm/core": "6.4.15-dev.
|
|
71
|
+
"@mikro-orm/core": "6.4.15-dev.5"
|
|
72
72
|
}
|
|
73
73
|
}
|