We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ac7e94 commit 3eecb68Copy full SHA for 3eecb68
packages/redis/README.md
@@ -29,7 +29,8 @@ Now the cache functions such as the following will be cached in Redis:
29
async function getCachedData() {
30
'use cache';
31
32
- const data = await getFromDatabase();
+ // imaginary database function
33
+ const data = await getFromDatabase('something');
34
35
return data;
36
}
0 commit comments