@mikro-orm/knex 6.0.0-dev.70 → 6.0.0-dev.72

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.
@@ -795,6 +795,10 @@ class AbstractSqlDriver extends core_1.DatabaseDriver {
795
795
  }
796
796
  return;
797
797
  }
798
+ if (prop.formula) {
799
+ ret.push(prop.name);
800
+ return;
801
+ }
798
802
  if (prop.fieldNames) {
799
803
  ret.push(...prop.fieldNames);
800
804
  }
package/index.mjs CHANGED
@@ -12,6 +12,7 @@ export const AbstractSqlPlatform = mod.AbstractSqlPlatform;
12
12
  export const AfterCreate = mod.AfterCreate;
13
13
  export const AfterDelete = mod.AfterDelete;
14
14
  export const AfterUpdate = mod.AfterUpdate;
15
+ export const AfterUpsert = mod.AfterUpsert;
15
16
  export const ArrayCollection = mod.ArrayCollection;
16
17
  export const ArrayCriteriaNode = mod.ArrayCriteriaNode;
17
18
  export const ArrayType = mod.ArrayType;
@@ -19,6 +20,7 @@ export const BaseEntity = mod.BaseEntity;
19
20
  export const BeforeCreate = mod.BeforeCreate;
20
21
  export const BeforeDelete = mod.BeforeDelete;
21
22
  export const BeforeUpdate = mod.BeforeUpdate;
23
+ export const BeforeUpsert = mod.BeforeUpsert;
22
24
  export const BigIntType = mod.BigIntType;
23
25
  export const BlobType = mod.BlobType;
24
26
  export const BooleanType = mod.BooleanType;
@@ -162,7 +164,6 @@ export const SqlEntityManager = mod.SqlEntityManager;
162
164
  export const SqlEntityRepository = mod.SqlEntityRepository;
163
165
  export const SqlSchemaGenerator = mod.SqlSchemaGenerator;
164
166
  export const StringType = mod.StringType;
165
- export const Subscriber = mod.Subscriber;
166
167
  export const SyntaxErrorException = mod.SyntaxErrorException;
167
168
  export const TableExistsException = mod.TableExistsException;
168
169
  export const TableNotFoundException = mod.TableNotFoundException;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/knex",
3
- "version": "6.0.0-dev.70",
3
+ "version": "6.0.0-dev.72",
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",
@@ -63,9 +63,9 @@
63
63
  "sqlstring": "2.3.3"
64
64
  },
65
65
  "devDependencies": {
66
- "@mikro-orm/core": "^5.7.2"
66
+ "@mikro-orm/core": "^5.7.6"
67
67
  },
68
68
  "peerDependencies": {
69
- "@mikro-orm/core": "~6.0.0-dev.70"
69
+ "@mikro-orm/core": "~6.0.0-dev.72"
70
70
  }
71
71
  }