Myrseth
Myrseth
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Myrseth on 7/15/2023 in #questions
React Cache Function
Sorry: I was using next 13.4.9, upgrading to 13.4.10 solved the issue
2 replies
TTCTheo's Typesafe Cult
Created by Myrseth on 7/15/2023 in #questions
Drizzle search column for string
Thank you!
8 replies
TTCTheo's Typesafe Cult
Created by Myrseth on 7/15/2023 in #questions
Drizzle search column for string
Thank you, however I want something that acts more like the contains-feature in Prisma, is this possible? I have a value in my db which is "Equinor ASA", if I type "Equinor" with the like-operator, nothing is returned. Same with "Equinor AS". It seems like the value has to equal what you're looking for?
8 replies
TTCTheo's Typesafe Cult
Created by Myrseth on 7/15/2023 in #questions
Drizzle search column for string
Equivilent in Prisma would be, but what about Drizzle? 😅
const query = "john";
const users = await prisma.users.findMany({
where: {
name: { contains: query },
},
});
const query = "john";
const users = await prisma.users.findMany({
where: {
name: { contains: query },
},
});
8 replies
TTCTheo's Typesafe Cult
Created by reallist on 5/29/2023 in #questions
Vercel - Subdomains
Just create another CNAME record pointing towards cname.vercel-dns.com of the subdomain of choice
2 replies
TTCTheo's Typesafe Cult
Created by Myrseth on 5/16/2023 in #questions
Next.js vs competing frameworks
Really new to the Discord btw, let me know if I posed this in the wrong spot
6 replies