diff --git a/README.md b/README.md index cad5a9c..847242a 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ const revalidatedPublishedPosts = await client.$cache.revalidation as Post[] You can cache results forever by specifying neither `ttl` nor `swr`. Such results will always be considered fresh. ```typescript -client.post.findMany({ +await client.post.findMany({ cache: { tags: [`user:${userId}`], }, diff --git a/package.json b/package.json index 5733811..e1fae53 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@visualbravo/zenstack-cache", - "version": "1.0.7", + "version": "1.0.8", "description": "Reduce response times and database load with query-level caching integrated with the ZenStack ORM.", "keywords": [ "accelerate",