TerjaN
Explore posts from serversDTDrizzle Team
•Created by TerjaN on 10/14/2024 in #help
Cannot drop unique index of an empty table in planetscale
I have an unique index, of a table a just create and then i tried to remove the unique with db:push and it fails
2 replies
DTDrizzle Team
•Created by ubinatus on 5/17/2024 in #help
(v0.21.2) columnType.startsWith is not a function
I'm struggling with the same problem, trying to migrate from prisma to drizzle with a mysql db in planetscale
2 replies
TTCTheo's Typesafe Cult
•Created by epsilon42 on 5/13/2024 in #questions
How to prevent multiple DB calls in this situation
maybe this is more clear https://nextjs.org/docs/app/building-your-application/caching#react-cache-function
8 replies
TTCTheo's Typesafe Cult
•Created by epsilon42 on 5/13/2024 in #questions
How to prevent multiple DB calls in this situation
in the lucia docs they recommends to use the cache function from react
https://lucia-auth.com/guides/validate-session-cookies/nextjs-app
8 replies
TTCTheo's Typesafe Cult
•Created by TerjaN on 5/13/2024 in #questions
UTApi (Server SDK) - getFileUrls with keyType equals "customId"
Now you can get the file with
4 replies
TTCTheo's Typesafe Cult
•Created by Hamza K Dev on 5/13/2024 in #questions
Managing Multiple Promises in Next.js
I'm not sure if having a key in Suspense prevents refetching, if you pass as key a constant, it wouldnt refetch?
26 replies
TTCTheo's Typesafe Cult
•Created by Hamza K Dev on 5/13/2024 in #questions
Managing Multiple Promises in Next.js
if you can send some code it would be great maybe I catch something
26 replies
TTCTheo's Typesafe Cult
•Created by Hamza K Dev on 5/13/2024 in #questions
Managing Multiple Promises in Next.js
have you seen this ? https://react.dev/reference/react/cache#troubleshooting
26 replies
TTCTheo's Typesafe Cult
•Created by Hamza K Dev on 5/13/2024 in #questions
Managing Multiple Promises in Next.js
xD
26 replies
TTCTheo's Typesafe Cult
•Created by Hamza K Dev on 5/13/2024 in #questions
Managing Multiple Promises in Next.js
yeah, I would try some manual tests just in case
26 replies
TTCTheo's Typesafe Cult
•Created by Hamza K Dev on 5/13/2024 in #questions
Managing Multiple Promises in Next.js
26 replies
TTCTheo's Typesafe Cult
•Created by Hamza K Dev on 5/13/2024 in #questions
Managing Multiple Promises in Next.js
I dont have too much experience with cache of react but its seems like the case to use it
https://react.dev/reference/react/cache
26 replies
TTCTheo's Typesafe Cult
•Created by Hamza K Dev on 5/13/2024 in #questions
Managing Multiple Promises in Next.js
maybe caching with fetch('...', cache) ?
26 replies
TTCTheo's Typesafe Cult
•Created by Hamza K Dev on 5/13/2024 in #questions
Managing Multiple Promises in Next.js
you are using query params as the filter state ?
26 replies