@mikro-orm/postgresql 6.6.14-dev.0 → 6.6.14-dev.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.
@@ -246,7 +246,8 @@ class PostgreSqlPlatform extends knex_1.AbstractSqlPlatform {
246
246
  });
247
247
  }
248
248
  quoteIdentifier(id, quote = '"') {
249
- return `${quote}${id.toString().replace('.', `${quote}.${quote}`)}${quote}`;
249
+ const escaped = id.toString().replaceAll(quote, quote + quote);
250
+ return `${quote}${escaped.replace('.', `${quote}.${quote}`)}${quote}`;
250
251
  }
251
252
  escape(value) {
252
253
  if (typeof value === 'string') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/postgresql",
3
- "version": "6.6.14-dev.0",
3
+ "version": "6.6.14-dev.1",
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.0",
61
+ "@mikro-orm/knex": "6.6.14-dev.1",
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.0"
71
+ "@mikro-orm/core": "6.6.14-dev.1"
72
72
  }
73
73
  }