NubeBuster
Explore posts from serversTTCTheo's Typesafe Cult
•Created by NubeBuster on 5/30/2024 in #questions
Queryraw condition joining in Prisma
I added a playground for you to explore and experiment with this issue
https://github.com/Nubebuster/prisma-raw
7 replies
TTCTheo's Typesafe Cult
•Created by NubeBuster on 5/30/2024 in #questions
Queryraw condition joining in Prisma
Bump
7 replies
TTCTheo's Typesafe Cult
•Created by NubeBuster on 5/30/2024 in #questions
Queryraw condition joining in Prisma
Bump
7 replies
TTCTheo's Typesafe Cult
•Created by NubeBuster on 5/30/2024 in #questions
Queryraw condition joining in Prisma
Bump
7 replies
TTCTheo's Typesafe Cult
•Created by NubeBuster on 5/30/2024 in #questions
Queryraw condition joining in Prisma
TTT SELECT * FROM #TempResults WHERE bookingCount > ? AND (recentZIPCode LIKE ? OR recentZIPCode LIKE ?) [ '2', '22%', '21%' ]
⨯ TypeError: Expected 4 strings to have 3 values
7 replies
TTCTheo's Typesafe Cult
•Created by NubeBuster on 7/30/2023 in #questions
How does vercel run my code? Is my cache code working as intended?
I was caching the fetch data in the api route so that clients can request that data from a third party from my api. This should not be done. I used getStaticProps with revalidate to put the data into the page which means no additional request is needed.
This solves the issue and even improves the general logic.
3 replies
TTCTheo's Typesafe Cult
•Created by NubeBuster on 6/24/2023 in #questions
Continuous process while server is running
ChatGPT
Great answer
6 replies
TTCTheo's Typesafe Cult
•Created by NubeBuster on 6/24/2023 in #questions
Continuous process while server is running
I just had some shower thoughts:
NextJS is supposed to be horizontally scalable. Therefore running an instance manager on the NextJS backend makes no sense.
I would have to make a third server application that the frontend can call for instance statusses and screenshots.
Correct me if I'm wrong
6 replies