@prisma/orm-sqlite 8.0.0-rc.12-dev.21 → 8.0.0-rc.12-dev.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/orm-sqlite",
3
- "version": "8.0.0-rc.12-dev.21",
3
+ "version": "8.0.0-rc.12-dev.22",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -10,17 +10,17 @@
10
10
  "skills"
11
11
  ],
12
12
  "dependencies": {
13
- "@prisma/orm-family-sql": "8.0.0-rc.12-dev.21",
14
- "@prisma/orm-framework": "8.0.0-rc.12-dev.21",
15
- "@prisma/orm-target-sqlite": "8.0.0-rc.12-dev.21",
16
- "@prisma/orm-toolchain": "8.0.0-rc.12-dev.21",
13
+ "@prisma/orm-family-sql": "8.0.0-rc.12-dev.22",
14
+ "@prisma/orm-framework": "8.0.0-rc.12-dev.22",
15
+ "@prisma/orm-target-sqlite": "8.0.0-rc.12-dev.22",
16
+ "@prisma/orm-toolchain": "8.0.0-rc.12-dev.22",
17
17
  "pathe": "^2.0.3",
18
18
  "tinyglobby": "^0.2.17"
19
19
  },
20
20
  "devDependencies": {
21
- "@internal/sqlite": "8.0.0-rc.12-dev.21",
22
- "@repo/tsconfig": "8.0.0-rc.12-dev.21",
23
- "@repo/tsdown": "8.0.0-rc.12-dev.21",
21
+ "@internal/sqlite": "8.0.0-rc.12-dev.22",
22
+ "@repo/tsconfig": "8.0.0-rc.12-dev.22",
23
+ "@repo/tsdown": "8.0.0-rc.12-dev.22",
24
24
  "tsdown": "0.22.14",
25
25
  "typescript": "5.9.3"
26
26
  },
@@ -15,7 +15,7 @@ description: >-
15
15
  ORM 7 or earlier (schema.prisma + @prisma/client).
16
16
  metadata:
17
17
  library: '@prisma/orm-sqlite'
18
- library_version: '8.0.0-rc.12-dev.21'
18
+ library_version: '8.0.0-rc.12-dev.22'
19
19
  version: '2026-09-12'
20
20
  ---
21
21
 
@@ -184,7 +184,7 @@ Then `pnpm prisma contract emit`. The `field.<scalar>()` helpers are only availa
184
184
 
185
185
  For Mongo, swap every `@internal/postgres/*` import for `@internal/mongo/*`. The Mongo builder also exposes `index` and `valueObject`.
186
186
 
187
- Mongo scalar types, as PSL name / TS builder / application type: `String` / `field.string()` / `string`; `Int32` / `field.int32()` / `number`; `Double` / `field.double()` / `number`; `Bool` / `field.bool()` / `boolean`; `Date` / `field.date()` / `Date`; `ObjectId` / `field.objectId()` / `string`; `Int64` / `field.int64()` / `bigint`; `Decimal128` / `field.decimal128()` / decimal text as a `string`; `Binary` / `field.binary()` / `Uint8Array`; `Json` / `field.json()` / any JSON value. The collection validator checks each field's BSON type, except `Json`, which admits any value.
187
+ Mongo scalar types, as PSL name / TS builder / application type: `String` / `field.string()` / `string`; `Int32` / `field.int32()` / `number`; `Int64` / `field.int64()` / `bigint`; `Double` / `field.double()` / `number`; `Decimal128` / `field.decimal128()` / decimal text as a `string`; `Bool` / `field.bool()` / `boolean`; `Date` / `field.date()` / `Date`; `ObjectId` / `field.objectId()` / `string`; `Binary` / `field.binary()` / `Uint8Array`; `Json` / `field.json()` / `JsonValue`; `Bson` / `field.bson()` / `BsonValue`. `Json` holds a JSON value only, validated as the JSON-representable BSON types; `Bson` holds any BSON value, unconstrained by the validator. The full table, with codec ids and storage types, is [Scalar types](https://github.com/prisma/orm/blob/main/docs/reference/scalar-types.md).
188
188
 
189
189
  Mongo timestamps the ORM fills: in PSL, type the field `temporal.createdAt()` (set on create), `temporal.updatedAt()` (set on create and on every update with a non-empty payload), or `temporal.timestamp(onCreate: now, onUpdate: now)` with either option; in TS, use `field.temporal.createdAt()` and the rest inside the callback overload. They store a BSON date read back as `Date`, one value per ORM operation, and an explicit value in the write wins. The fields are optional on create. A preset field cannot be optional (`?`), a list, `@id`, or a field of a composite type.
190
190