@prisma/orm-family-sql 8.0.0-rc.14-dev.8 → 8.0.0-rc.14-dev.10
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/dist/orm-client.d.mts +2 -2
- package/dist/orm-client.mjs +1 -1
- package/dist/orm-client.mjs.map +1 -1
- package/package.json +18 -18
package/dist/orm-client.d.mts
CHANGED
|
@@ -1154,7 +1154,7 @@ declare class CollectionImpl<TContract extends Contract<SqlStorage>, ModelName e
|
|
|
1154
1154
|
* merged into `plan.meta.annotations` at compile time.
|
|
1155
1155
|
*
|
|
1156
1156
|
* ```typescript
|
|
1157
|
-
* await db.orm.User.all((meta) => meta.annotate(cacheAnnotation({
|
|
1157
|
+
* await db.orm.User.all((meta) => meta.annotate(cacheAnnotation({ key: 'users' })));
|
|
1158
1158
|
* ```
|
|
1159
1159
|
*/
|
|
1160
1160
|
all(configure?: (meta: MetaBuilder<'read'>) => void): AsyncIterableResult<Row>;
|
|
@@ -1179,7 +1179,7 @@ declare class CollectionImpl<TContract extends Contract<SqlStorage>, ModelName e
|
|
|
1179
1179
|
*
|
|
1180
1180
|
* // Annotate without filtering further:
|
|
1181
1181
|
* await db.orm.User.first(undefined, (meta) =>
|
|
1182
|
-
* meta.annotate(cacheAnnotation({
|
|
1182
|
+
* meta.annotate(cacheAnnotation({})),
|
|
1183
1183
|
* );
|
|
1184
1184
|
* ```
|
|
1185
1185
|
*/
|
package/dist/orm-client.mjs
CHANGED
|
@@ -4283,7 +4283,7 @@ var CollectionImpl = class CollectionImpl {
|
|
|
4283
4283
|
* merged into `plan.meta.annotations` at compile time.
|
|
4284
4284
|
*
|
|
4285
4285
|
* ```typescript
|
|
4286
|
-
* await db.orm.User.all((meta) => meta.annotate(cacheAnnotation({
|
|
4286
|
+
* await db.orm.User.all((meta) => meta.annotate(cacheAnnotation({ key: 'users' })));
|
|
4287
4287
|
* ```
|
|
4288
4288
|
*/
|
|
4289
4289
|
all(configure) {
|