@mikro-orm/mssql 6.4.17-dev.6 → 6.4.17-dev.60
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/MsSqlPlatform.d.ts +3 -1
- package/MsSqlPlatform.js +1 -1
- package/README.md +1 -1
- package/index.mjs +2 -0
- package/package.json +3 -3
package/MsSqlPlatform.d.ts
CHANGED
|
@@ -50,7 +50,9 @@ export declare class MsSqlPlatform extends AbstractSqlPlatform {
|
|
|
50
50
|
normalizePrimaryKey<T extends number | string = number | string>(data: Primary<T> | IPrimaryKey | string): T;
|
|
51
51
|
supportsMultipleCascadePaths(): boolean;
|
|
52
52
|
supportsMultipleStatements(): boolean;
|
|
53
|
-
quoteIdentifier(id: string
|
|
53
|
+
quoteIdentifier(id: string | {
|
|
54
|
+
toString: () => string;
|
|
55
|
+
}): string;
|
|
54
56
|
escape(value: any): string;
|
|
55
57
|
getSchemaGenerator(driver: IDatabaseDriver, em?: EntityManager): MsSqlSchemaGenerator;
|
|
56
58
|
allowsComparingTuples(): boolean;
|
package/MsSqlPlatform.js
CHANGED
|
@@ -165,7 +165,7 @@ class MsSqlPlatform extends knex_1.AbstractSqlPlatform {
|
|
|
165
165
|
return true;
|
|
166
166
|
}
|
|
167
167
|
quoteIdentifier(id) {
|
|
168
|
-
return `[${id.replace('.', `].[`)}]`;
|
|
168
|
+
return `[${id.toString().replace('.', `].[`)}]`;
|
|
169
169
|
}
|
|
170
170
|
escape(value) {
|
|
171
171
|
if (value instanceof UnicodeStringType_1.UnicodeString) {
|
package/README.md
CHANGED
|
@@ -141,7 +141,7 @@ There is also auto-generated [CHANGELOG.md](CHANGELOG.md) file based on commit m
|
|
|
141
141
|
- [Composite and Foreign Keys as Primary Key](https://mikro-orm.io/docs/composite-keys)
|
|
142
142
|
- [Filters](https://mikro-orm.io/docs/filters)
|
|
143
143
|
- [Using `QueryBuilder`](https://mikro-orm.io/docs/query-builder)
|
|
144
|
-
- [
|
|
144
|
+
- [Populating relations](https://mikro-orm.io/docs/populating-relations)
|
|
145
145
|
- [Property Validation](https://mikro-orm.io/docs/property-validation)
|
|
146
146
|
- [Lifecycle Hooks](https://mikro-orm.io/docs/events#hooks)
|
|
147
147
|
- [Vanilla JS Support](https://mikro-orm.io/docs/usage-with-js)
|
package/index.mjs
CHANGED
|
@@ -226,12 +226,14 @@ export const compareBuffers = mod.compareBuffers;
|
|
|
226
226
|
export const compareObjects = mod.compareObjects;
|
|
227
227
|
export const createSqlFunction = mod.createSqlFunction;
|
|
228
228
|
export const defineConfig = mod.defineConfig;
|
|
229
|
+
export const defineEntity = mod.defineEntity;
|
|
229
230
|
export const equals = mod.equals;
|
|
230
231
|
export const getOnConflictFields = mod.getOnConflictFields;
|
|
231
232
|
export const getOnConflictReturningFields = mod.getOnConflictReturningFields;
|
|
232
233
|
export const helper = mod.helper;
|
|
233
234
|
export const knex = mod.knex;
|
|
234
235
|
export const parseJsonSafe = mod.parseJsonSafe;
|
|
236
|
+
export const quote = mod.quote;
|
|
235
237
|
export const raw = mod.raw;
|
|
236
238
|
export const ref = mod.ref;
|
|
237
239
|
export const rel = mod.rel;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/mssql",
|
|
3
|
-
"version": "6.4.17-dev.
|
|
3
|
+
"version": "6.4.17-dev.60",
|
|
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",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@mikro-orm/knex": "6.4.17-dev.
|
|
61
|
+
"@mikro-orm/knex": "6.4.17-dev.60",
|
|
62
62
|
"tedious": "19.0.0",
|
|
63
63
|
"tsqlstring": "1.0.1"
|
|
64
64
|
},
|
|
@@ -66,6 +66,6 @@
|
|
|
66
66
|
"@mikro-orm/core": "^6.4.16"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@mikro-orm/core": "6.4.17-dev.
|
|
69
|
+
"@mikro-orm/core": "6.4.17-dev.60"
|
|
70
70
|
}
|
|
71
71
|
}
|