@mikro-orm/mssql 7.2.0-dev.5 → 7.2.0-dev.7
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/MsSqlConnection.d.ts +7 -1
- package/MsSqlConnection.js +7 -1
- package/package.json +4 -4
package/MsSqlConnection.d.ts
CHANGED
|
@@ -2,7 +2,13 @@ import { AbstractSqlConnection, type TransactionEventBroadcaster } from '@mikro-
|
|
|
2
2
|
import { type ControlledTransaction, MssqlDialect } from 'kysely';
|
|
3
3
|
import { type Routine, type Transaction } from '@mikro-orm/core';
|
|
4
4
|
import type { ConnectionConfiguration } from 'tedious';
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* Microsoft SQL Server database connection using the `tedious` driver.
|
|
7
|
+
*
|
|
8
|
+
* There is no `getNativeClient()` here: tedious has no long-lived client object, and the pool
|
|
9
|
+
* kysely builds holds its own connection wrappers rather than tedious ones. Reach individual
|
|
10
|
+
* `Tedious.Connection`s through the `onCreateConnection`/`onReserveConnection` hooks instead.
|
|
11
|
+
*/
|
|
6
12
|
export declare class MsSqlConnection extends AbstractSqlConnection {
|
|
7
13
|
createKyselyDialect(overrides: ConnectionConfiguration): MssqlDialect;
|
|
8
14
|
private mapOptions;
|
package/MsSqlConnection.js
CHANGED
|
@@ -28,7 +28,13 @@ class MsSqlReserveDialect extends MssqlDialect {
|
|
|
28
28
|
return driver;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Microsoft SQL Server database connection using the `tedious` driver.
|
|
33
|
+
*
|
|
34
|
+
* There is no `getNativeClient()` here: tedious has no long-lived client object, and the pool
|
|
35
|
+
* kysely builds holds its own connection wrappers rather than tedious ones. Reach individual
|
|
36
|
+
* `Tedious.Connection`s through the `onCreateConnection`/`onReserveConnection` hooks instead.
|
|
37
|
+
*/
|
|
32
38
|
export class MsSqlConnection extends AbstractSqlConnection {
|
|
33
39
|
createKyselyDialect(overrides) {
|
|
34
40
|
const options = this.mapOptions(overrides);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/mssql",
|
|
3
|
-
"version": "7.2.0-dev.
|
|
3
|
+
"version": "7.2.0-dev.7",
|
|
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
|
"keywords": [
|
|
6
6
|
"data-mapper",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"copy": "node ../../scripts/copy.mjs"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@mikro-orm/sql": "7.2.0-dev.
|
|
51
|
-
"kysely": "0.29.
|
|
50
|
+
"@mikro-orm/sql": "7.2.0-dev.7",
|
|
51
|
+
"kysely": "0.29.5",
|
|
52
52
|
"tarn": "3.1.2",
|
|
53
53
|
"tedious": "20.0.0",
|
|
54
54
|
"tsqlstring": "1.0.1"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@mikro-orm/core": "^7.1.11"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"@mikro-orm/core": "7.2.0-dev.
|
|
60
|
+
"@mikro-orm/core": "7.2.0-dev.7"
|
|
61
61
|
},
|
|
62
62
|
"engines": {
|
|
63
63
|
"node": ">= 22.17.0"
|