No matching version found for drizzle-orm@cache
Drizzle ORM - Cache
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
4 Replies
There is not a package with the name
drizzle-orm@cache
Where are you getting this installation command ?
Seems like you can just import like in the examples and use the cache sub-package without installing anything else except drizzle-orm itselfthe official upstash website : https://upstash.com/docs/redis/integrations/drizzle
and can't import it 😔
Upstash Documentation
DrizzleORM with Upstash Redis - Upstash Documentation
What version of drizzle-orm you're using - use
pnpm ls drizzle-orm
? The cache
module was only introduced since 0.44.0 https://github.com/drizzle-team/drizzle-orm/releases/tag/0.44.0
The upstash doc was likely a bit outdated. There used to be a cache
tag in Drizzle-orm repo, but not any more since it has been merged in 0.44.0. So now you can just use the cache
sub-package by installing latest version npm install drizzle-orm@latest
GitHub
Release 0.44.0 · drizzle-team/drizzle-orm
Error handling
Starting from this version, we’ve introduced a new DrizzleQueryError that wraps all errors from database drivers and provides a set of useful information:
A proper stack trace to id...
yes I have the latest one hhhh
waiting for them to explain what went wrong etc