mythix-orm-postgresql 1.9.3 → 1.9.4

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.
@@ -11,7 +11,7 @@ const { Literals, Errors } = require('mythix-orm');
11
11
  const { SQLConnectionBase } = require('mythix-orm-sql-base');
12
12
  const PostgreSQLQueryGenerator = require('./postgresql-query-generator');
13
13
 
14
- const DEFAULT_TIMEOUT_MS = 5000;
14
+ const DEFAULT_TIMEOUT_MS = 15000;
15
15
 
16
16
  function sleep(ms) {
17
17
  return new Promise((resolve) => {
@@ -121,7 +121,7 @@ class PostgreSQLQueryGenerator extends SQLQueryGeneratorBase {
121
121
 
122
122
  if (LiteralBase.isLiteral(distinctValue))
123
123
  valueStr = distinctValue.toString(this.connection, { isOrder: true });
124
- else if (typeof distinctValue.isField === 'function' && distinctValue.isField(distinctValue) && !distinctValue.ephemeral)
124
+ else if (typeof distinctValue.isField === 'function' && distinctValue.isField(distinctValue))
125
125
  valueStr = this.getEscapedColumnName(distinctValue.Model, distinctValue);
126
126
 
127
127
  if (valueStr)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mythix-orm-postgresql",
3
- "version": "1.9.3",
3
+ "version": "1.9.4",
4
4
  "description": "PostgreSQL driver for Mythix ORM",
5
5
  "main": "lib/index.js",
6
6
  "type": "commonjs",
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "homepage": "https://github.com/th317erd/mythix-orm-postgresql#readme",
35
35
  "peerDependencies": {
36
- "mythix-orm": "^1.11.4",
37
- "mythix-orm-sql-base": "^1.9.3"
36
+ "mythix-orm": "^1.11.5",
37
+ "mythix-orm-sql-base": "^1.9.4"
38
38
  },
39
39
  "dependencies": {
40
40
  "luxon": "^3.1.0",