@mikro-orm/oracledb 7.1.14-dev.1 → 7.1.14-dev.10
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.
- package/OraclePlatform.d.ts +2 -2
- package/OraclePlatform.js +2 -1
- package/package.json +3 -3
package/OraclePlatform.d.ts
CHANGED
|
@@ -105,8 +105,8 @@ export declare class OraclePlatform extends AbstractSqlPlatform {
|
|
|
105
105
|
length?: number;
|
|
106
106
|
}): string;
|
|
107
107
|
usesCascadeStatement(): boolean;
|
|
108
|
-
getSearchJsonPropertyKey(path: string[], type: string, aliased: boolean, value?: unknown): string;
|
|
109
|
-
processJsonCondition<T extends object>(o: FilterQuery<T>, value: EntityValue<T>, path: EntityKey<T>[], alias: boolean): FilterQuery<T>;
|
|
108
|
+
getSearchJsonPropertyKey(path: string[], type: string, aliased: boolean | string, value?: unknown): string;
|
|
109
|
+
processJsonCondition<T extends object>(o: FilterQuery<T>, value: EntityValue<T>, path: EntityKey<T>[], alias: boolean | string): FilterQuery<T>;
|
|
110
110
|
getJsonArrayFromSQL(column: string, alias: string, properties: {
|
|
111
111
|
name: string;
|
|
112
112
|
type: string;
|
package/OraclePlatform.js
CHANGED
|
@@ -205,7 +205,8 @@ export class OraclePlatform extends AbstractSqlPlatform {
|
|
|
205
205
|
}
|
|
206
206
|
getSearchJsonPropertyKey(path, type, aliased, value) {
|
|
207
207
|
const [a, ...b] = path;
|
|
208
|
-
const
|
|
208
|
+
const alias = typeof aliased === 'string' ? aliased : ALIAS_REPLACEMENT;
|
|
209
|
+
const root = this.quoteIdentifier(aliased ? `${alias}.${a}` : a);
|
|
209
210
|
if (b.length === 0) {
|
|
210
211
|
return raw(`json_equal(${root}, json(?))`, [value]);
|
|
211
212
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/oracledb",
|
|
3
|
-
"version": "7.1.14-dev.
|
|
3
|
+
"version": "7.1.14-dev.10",
|
|
4
4
|
"description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, PostgreSQL, SQLite, MSSQL and Oracle databases.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data-mapper",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"copy": "node ../../scripts/copy.mjs"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@mikro-orm/sql": "7.1.14-dev.
|
|
45
|
+
"@mikro-orm/sql": "7.1.14-dev.10",
|
|
46
46
|
"kysely": "0.29.5",
|
|
47
47
|
"oracledb": "7.0.1"
|
|
48
48
|
},
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@mikro-orm/core": "^7.1.13"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@mikro-orm/core": "7.1.14-dev.
|
|
53
|
+
"@mikro-orm/core": "7.1.14-dev.10"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
56
|
"node": ">= 22.17.0"
|