@mikro-orm/oracledb 7.0.8 → 7.0.9-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.
- package/OracleConnection.d.ts +8 -24
- package/OracleConnection.js +162 -163
- package/OracleDriver.d.ts +7 -37
- package/OracleDriver.js +67 -68
- package/OracleExceptionConverter.d.ts +4 -4
- package/OracleExceptionConverter.js +140 -156
- package/OracleMikroORM.d.ts +12 -50
- package/OracleMikroORM.js +14 -14
- package/OraclePlatform.d.ts +120 -113
- package/OraclePlatform.js +284 -299
- package/OracleQueryBuilder.d.ts +7 -25
- package/OracleQueryBuilder.js +75 -82
- package/OracleSchemaGenerator.d.ts +37 -45
- package/OracleSchemaGenerator.js +372 -390
- package/OracleSchemaHelper.d.ts +43 -89
- package/OracleSchemaHelper.js +514 -523
- package/README.md +1 -1
- package/package.json +3 -3
package/OraclePlatform.d.ts
CHANGED
|
@@ -1,119 +1,126 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AbstractSqlPlatform,
|
|
3
|
-
type Dictionary,
|
|
4
|
-
type EntityKey,
|
|
5
|
-
type EntityManager,
|
|
6
|
-
type EntityValue,
|
|
7
|
-
type FilterQuery,
|
|
8
|
-
type IDatabaseDriver,
|
|
9
|
-
type IsolationLevel,
|
|
10
|
-
type MikroORM,
|
|
11
|
-
OracleNativeQueryBuilder,
|
|
12
|
-
Type,
|
|
13
|
-
} from '@mikro-orm/sql';
|
|
1
|
+
import { AbstractSqlPlatform, type Dictionary, type EntityKey, type EntityManager, type EntityValue, type FilterQuery, type IDatabaseDriver, type IsolationLevel, type MikroORM, OracleNativeQueryBuilder, Type } from '@mikro-orm/sql';
|
|
14
2
|
import { OracleSchemaHelper } from './OracleSchemaHelper.js';
|
|
15
3
|
import { OracleExceptionConverter } from './OracleExceptionConverter.js';
|
|
16
4
|
import { OracleSchemaGenerator } from './OracleSchemaGenerator.js';
|
|
17
5
|
/** Platform implementation for Oracle Database. */
|
|
18
6
|
export declare class OraclePlatform extends AbstractSqlPlatform {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
column:
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
7
|
+
#private;
|
|
8
|
+
protected readonly schemaHelper: OracleSchemaHelper;
|
|
9
|
+
protected readonly exceptionConverter: OracleExceptionConverter;
|
|
10
|
+
/** @inheritDoc */
|
|
11
|
+
lookupExtensions(orm: MikroORM): void;
|
|
12
|
+
getRollbackToSavepointSQL(savepointName: string): string;
|
|
13
|
+
getSavepointSQL(savepointName: string): string;
|
|
14
|
+
getBeginTransactionSQL(options?: {
|
|
15
|
+
isolationLevel?: IsolationLevel;
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
}): string[];
|
|
18
|
+
usesAsKeyword(): boolean;
|
|
19
|
+
compareUuids(): string;
|
|
20
|
+
convertUuidToJSValue(value: Buffer): string;
|
|
21
|
+
convertUuidToDatabaseValue(value: string): Buffer;
|
|
22
|
+
/** @internal */
|
|
23
|
+
createNativeQueryBuilder(): OracleNativeQueryBuilder;
|
|
24
|
+
usesOutputStatement(): boolean;
|
|
25
|
+
usesReturningStatement(): boolean;
|
|
26
|
+
convertsJsonAutomatically(): boolean;
|
|
27
|
+
indexForeignKeys(): boolean;
|
|
28
|
+
supportsSchemas(): boolean;
|
|
29
|
+
getCurrentTimestampSQL(length: number): string;
|
|
30
|
+
getDateTimeTypeDeclarationSQL(column: {
|
|
31
|
+
length?: number;
|
|
32
|
+
}): string;
|
|
33
|
+
getDefaultDateTimeLength(): number;
|
|
34
|
+
getFloatDeclarationSQL(): string;
|
|
35
|
+
getDoubleDeclarationSQL(): string;
|
|
36
|
+
getDecimalTypeDeclarationSQL(column: {
|
|
37
|
+
precision?: number;
|
|
38
|
+
scale?: number;
|
|
39
|
+
}): string;
|
|
40
|
+
getBooleanTypeDeclarationSQL(): string;
|
|
41
|
+
getRegExpOperator(): string;
|
|
42
|
+
mapRegExpCondition(mappedKey: string, value: {
|
|
43
|
+
$re: string;
|
|
44
|
+
$flags?: string;
|
|
45
|
+
}): {
|
|
46
|
+
sql: string;
|
|
47
|
+
params: unknown[];
|
|
48
|
+
};
|
|
49
|
+
getBlobDeclarationSQL(): string;
|
|
50
|
+
getJsonDeclarationSQL(): string;
|
|
51
|
+
getDefaultSchemaName(): string | undefined;
|
|
52
|
+
getVarcharTypeDeclarationSQL(column: {
|
|
53
|
+
length?: number;
|
|
54
|
+
}): string;
|
|
55
|
+
getDateTypeDeclarationSQL(length?: number): string;
|
|
56
|
+
getTimeTypeDeclarationSQL(length?: number): string;
|
|
57
|
+
getIntegerTypeDeclarationSQL(column: {
|
|
58
|
+
length?: number;
|
|
59
|
+
unsigned?: boolean;
|
|
60
|
+
autoincrement?: boolean;
|
|
61
|
+
}): string;
|
|
62
|
+
/**
|
|
63
|
+
* @inheritDoc
|
|
64
|
+
*/
|
|
65
|
+
getBigIntTypeDeclarationSQL(column: {
|
|
66
|
+
length?: number;
|
|
67
|
+
unsigned?: boolean;
|
|
68
|
+
autoincrement?: boolean;
|
|
69
|
+
}): string;
|
|
70
|
+
getMediumIntTypeDeclarationSQL(column: {
|
|
71
|
+
length?: number;
|
|
72
|
+
unsigned?: boolean;
|
|
73
|
+
autoincrement?: boolean;
|
|
74
|
+
}): string;
|
|
75
|
+
getTinyIntTypeDeclarationSQL(column: {
|
|
76
|
+
length?: number;
|
|
77
|
+
unsigned?: boolean;
|
|
78
|
+
autoincrement?: boolean;
|
|
79
|
+
}): string;
|
|
80
|
+
getSmallIntTypeDeclarationSQL(column: {
|
|
81
|
+
length?: number;
|
|
82
|
+
unsigned?: boolean;
|
|
83
|
+
autoincrement?: boolean;
|
|
84
|
+
}): string;
|
|
85
|
+
getArrayDeclarationSQL(): string;
|
|
86
|
+
getEnumTypeDeclarationSQL(column: {
|
|
87
|
+
items?: unknown[];
|
|
88
|
+
fieldNames: string[];
|
|
89
|
+
length?: number;
|
|
90
|
+
unsigned?: boolean;
|
|
91
|
+
autoincrement?: boolean;
|
|
92
|
+
}): string;
|
|
93
|
+
getTextTypeDeclarationSQL(_column: {
|
|
94
|
+
length?: number;
|
|
95
|
+
}): string;
|
|
96
|
+
normalizeColumnType(type: string, options: {
|
|
97
|
+
length?: number;
|
|
98
|
+
precision?: number;
|
|
99
|
+
scale?: number;
|
|
100
|
+
}): string;
|
|
101
|
+
getDefaultMappedType(type: string): Type<unknown>;
|
|
102
|
+
getUuidTypeDeclarationSQL(column: {
|
|
103
|
+
length?: number;
|
|
104
|
+
}): string;
|
|
105
|
+
usesCascadeStatement(): boolean;
|
|
106
|
+
getSearchJsonPropertyKey(path: string[], type: string, aliased: boolean, value?: unknown): string;
|
|
107
|
+
processJsonCondition<T extends object>(o: FilterQuery<T>, value: EntityValue<T>, path: EntityKey<T>[], alias: boolean): FilterQuery<T>;
|
|
108
|
+
getJsonArrayFromSQL(column: string, alias: string, properties: {
|
|
109
|
+
name: string;
|
|
110
|
+
type: string;
|
|
111
|
+
}[]): string;
|
|
112
|
+
usesEnumCheckConstraints(): boolean;
|
|
113
|
+
supportsMultipleCascadePaths(): boolean;
|
|
114
|
+
/** @inheritDoc */
|
|
115
|
+
supportsOnUpdate(): boolean;
|
|
116
|
+
supportsMultipleStatements(): boolean;
|
|
117
|
+
quoteIdentifier(id: string): string;
|
|
118
|
+
escape(value: any): string;
|
|
119
|
+
getSchemaGenerator(driver: IDatabaseDriver, em?: EntityManager): OracleSchemaGenerator;
|
|
120
|
+
allowsComparingTuples(): boolean;
|
|
121
|
+
getDefaultClientUrl(): string;
|
|
122
|
+
/** @internal */
|
|
123
|
+
mapToBindType(type: string): unknown;
|
|
124
|
+
mapToOracleType(type: string): unknown;
|
|
125
|
+
createOutBindings(map: Dictionary<string>): Dictionary;
|
|
119
126
|
}
|