@mikro-orm/postgresql 6.3.14-dev.9 → 6.4.0

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.
@@ -36,6 +36,9 @@ class PostgreSqlConnection extends knex_1.AbstractSqlConnection {
36
36
  return ret;
37
37
  }
38
38
  transformRawResult(res, method) {
39
+ if (Array.isArray(res)) {
40
+ return res.map(row => this.transformRawResult(row, method));
41
+ }
39
42
  if (method === 'get') {
40
43
  return res.rows[0];
41
44
  }
package/index.mjs CHANGED
@@ -205,6 +205,7 @@ export const TimeType = mod.TimeType;
205
205
  export const TinyIntType = mod.TinyIntType;
206
206
  export const TransactionContext = mod.TransactionContext;
207
207
  export const TransactionEventBroadcaster = mod.TransactionEventBroadcaster;
208
+ export const Transactional = mod.Transactional;
208
209
  export const Type = mod.Type;
209
210
  export const Uint8ArrayType = mod.Uint8ArrayType;
210
211
  export const UnderscoreNamingStrategy = mod.UnderscoreNamingStrategy;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/postgresql",
3
- "version": "6.3.14-dev.9",
3
+ "version": "6.4.0",
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,16 +58,16 @@
58
58
  "access": "public"
59
59
  },
60
60
  "dependencies": {
61
- "@mikro-orm/knex": "6.3.14-dev.9",
62
- "pg": "8.13.0",
61
+ "@mikro-orm/knex": "6.4.0",
62
+ "pg": "8.13.1",
63
63
  "postgres-array": "3.0.2",
64
64
  "postgres-date": "2.1.0",
65
65
  "postgres-interval": "4.0.2"
66
66
  },
67
67
  "devDependencies": {
68
- "@mikro-orm/core": "^6.3.13"
68
+ "@mikro-orm/core": "^6.4.0"
69
69
  },
70
70
  "peerDependencies": {
71
- "@mikro-orm/core": "6.3.14-dev.9"
71
+ "@mikro-orm/core": "^6.0.0"
72
72
  }
73
73
  }