@mikro-orm/postgresql 6.6.14-dev.1 → 6.6.14-dev.2

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.
@@ -226,9 +226,9 @@ class PostgreSqlPlatform extends knex_1.AbstractSqlPlatform {
226
226
  lastOperator = '->';
227
227
  }
228
228
  if (path.length === 0) {
229
- return cast(`${root}${lastOperator}'${last}'`);
229
+ return cast(`${root}${lastOperator}${this.quoteValue(last)}`);
230
230
  }
231
- return cast(`${root}->${path.map(a => this.quoteValue(a)).join('->')}${lastOperator}'${last}'`);
231
+ return cast(`${root}->${path.map(a => this.quoteValue(a)).join('->')}${lastOperator}${this.quoteValue(last)}`);
232
232
  }
233
233
  getJsonIndexDefinition(index) {
234
234
  return index.columnNames
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/postgresql",
3
- "version": "6.6.14-dev.1",
3
+ "version": "6.6.14-dev.2",
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,7 +58,7 @@
58
58
  "access": "public"
59
59
  },
60
60
  "dependencies": {
61
- "@mikro-orm/knex": "6.6.14-dev.1",
61
+ "@mikro-orm/knex": "6.6.14-dev.2",
62
62
  "pg": "8.20.0",
63
63
  "postgres-array": "3.0.4",
64
64
  "postgres-date": "2.1.0",
@@ -68,6 +68,6 @@
68
68
  "@mikro-orm/core": "^6.6.13"
69
69
  },
70
70
  "peerDependencies": {
71
- "@mikro-orm/core": "6.6.14-dev.1"
71
+ "@mikro-orm/core": "6.6.14-dev.2"
72
72
  }
73
73
  }