@mikro-orm/sql
Advanced tools
+2
-2
| { | ||
| "name": "@mikro-orm/sql", | ||
| "version": "7.1.5-dev.13", | ||
| "version": "7.1.5-dev.14", | ||
| "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.", | ||
@@ -56,3 +56,3 @@ "keywords": [ | ||
| "peerDependencies": { | ||
| "@mikro-orm/core": "7.1.5-dev.13" | ||
| "@mikro-orm/core": "7.1.5-dev.14" | ||
| }, | ||
@@ -59,0 +59,0 @@ "engines": { |
@@ -42,3 +42,7 @@ import { ALIAS_REPLACEMENT, GroupOperator, QueryFlag, raw, RawQueryFragment, ReferenceKind, Utils, } from '@mikro-orm/core'; | ||
| const payload = this.payload[key].unwrap(); | ||
| const qb2 = qb.clone(true, ['schema']); | ||
| // entities with a fixed schema must resolve the `from` table's own schema in the subquery, | ||
| // otherwise a nested operator inherits the root entity's schema (GH #7894); for wildcard or | ||
| // schema-less entities the schema is resolved dynamically and needs to be carried over | ||
| const fixedSchema = parentMeta.schema && parentMeta.schema !== '*'; | ||
| const qb2 = qb.clone(true, fixedSchema ? undefined : ['schema']); | ||
| const joinAlias = qb2.getNextAlias(this.prop.targetMeta.class); | ||
@@ -45,0 +49,0 @@ const sub = qb2 |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
1047065
0.04%21937
0.02%