@prisma/orm-toolchain 8.0.0-rc.18-dev.31 → 8.0.0-rc.18-dev.32

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.
@@ -22,7 +22,7 @@ const user = await db.orm.users
22
22
  .first();
23
23
 
24
24
  // Your editor will show the type of user as
25
- // { _id: ObjectId; email: string; username: string | null; name: string | null; posts: Post[] } | null
25
+ // { id: ObjectId; email: string; username: string | null; name: string | null; posts: Post[] } | null
26
26
  ```
27
27
 
28
28
  `db` connects to MongoDB lazily on the first query, so there is no manual `connect(...)` step in your application code. Call `await db.close()` if you need to release the underlying connection (typically only in tests or short-lived scripts). After `close()` the client is single-shot — any further query, `connect()`, or `runtime()` call rejects with `"Mongo client is closed"`. Construct a new `mongo({...})` if you need to use it again.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/orm-toolchain",
3
- "version": "8.0.0-rc.18-dev.31",
3
+ "version": "8.0.0-rc.18-dev.32",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -9,7 +9,7 @@
9
9
  "dist"
10
10
  ],
11
11
  "dependencies": {
12
- "@prisma/orm-framework": "8.0.0-rc.18-dev.31",
12
+ "@prisma/orm-framework": "8.0.0-rc.18-dev.32",
13
13
  "@vercel/detect-agent": "^1.2.4",
14
14
  "arktype": "^2.2.2",
15
15
  "c12": "^3.3.4",
@@ -30,16 +30,16 @@
30
30
  "wrap-ansi": "^10.0.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@internal/cli": "8.0.0-rc.18-dev.31",
34
- "@internal/cli-telemetry": "8.0.0-rc.18-dev.31",
35
- "@internal/config-loader": "8.0.0-rc.18-dev.31",
36
- "@internal/emitter": "8.0.0-rc.18-dev.31",
37
- "@internal/language-server": "8.0.0-rc.18-dev.31",
38
- "@internal/migration-tools": "8.0.0-rc.18-dev.31",
39
- "@internal/publish-surface": "8.0.0-rc.18-dev.31",
40
- "@repo/tsconfig": "8.0.0-rc.18-dev.31",
41
- "@repo/tsdown": "8.0.0-rc.18-dev.31",
42
- "@internal/vite-plugin-contract-emit": "8.0.0-rc.18-dev.31",
33
+ "@internal/cli": "8.0.0-rc.18-dev.32",
34
+ "@internal/cli-telemetry": "8.0.0-rc.18-dev.32",
35
+ "@internal/config-loader": "8.0.0-rc.18-dev.32",
36
+ "@internal/emitter": "8.0.0-rc.18-dev.32",
37
+ "@internal/language-server": "8.0.0-rc.18-dev.32",
38
+ "@internal/migration-tools": "8.0.0-rc.18-dev.32",
39
+ "@internal/publish-surface": "8.0.0-rc.18-dev.32",
40
+ "@repo/tsconfig": "8.0.0-rc.18-dev.32",
41
+ "@repo/tsdown": "8.0.0-rc.18-dev.32",
42
+ "@internal/vite-plugin-contract-emit": "8.0.0-rc.18-dev.32",
43
43
  "tsdown": "0.22.14",
44
44
  "typescript": "5.9.3"
45
45
  },