Myrseth
Myrseth
Explore posts from servers
DTDrizzle Team
Created by SirCameron on 7/17/2023 in #help
Fulltext index MySQL
@sircameron_ did you find a solution?
5 replies
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
DTDrizzle Team
Created by Myrseth on 7/15/2023 in #help
Placeholders in inserting: db.insert().values(placeholder('example'))
My current code that results in a typeerror is the following:
const insertRoller = db.insert(rolle).values(placeholder('values')).prepare();
const insertRoller = db.insert(rolle).values(placeholder('values')).prepare();
I have no issue using placeholders in delete, and select statements, only in this case. If this is not supported, how can I implement this in something like Vercel Functions?
5 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