@mikro-orm/mssql 6.4.2 → 6.4.3-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/README.md +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -299,13 +299,13 @@ Or if you want to use UUID primary keys:
|
|
|
299
299
|
**`./entities/UuidBook.ts`**
|
|
300
300
|
|
|
301
301
|
```typescript
|
|
302
|
-
import {
|
|
302
|
+
import { randomUUID } from 'node:crypto';
|
|
303
303
|
|
|
304
304
|
@Entity()
|
|
305
305
|
export class UuidBook {
|
|
306
306
|
|
|
307
307
|
@PrimaryKey()
|
|
308
|
-
uuid =
|
|
308
|
+
uuid = randomUUID();
|
|
309
309
|
|
|
310
310
|
}
|
|
311
311
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/mssql",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.3-dev.1",
|
|
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.
|
|
61
|
+
"@mikro-orm/knex": "6.4.3-dev.1",
|
|
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.2"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@mikro-orm/core": "
|
|
69
|
+
"@mikro-orm/core": "6.4.3-dev.1"
|
|
70
70
|
}
|
|
71
71
|
}
|