Bean
Explore posts from serversPPrisma
•Created by Bean on 7/12/2024 in #help-and-questions
create many skip existing
Thanks for letting me know
13 replies
PPrisma
•Created by Bean on 7/12/2024 in #help-and-questions
create many skip existing
Ooo I didn't know that was an option
13 replies
PPrisma
•Created by Bean on 7/12/2024 in #help-and-questions
create many skip existing
but idk how I could even do this in the first place in prisma
13 replies
PPrisma
•Created by Bean on 7/12/2024 in #help-and-questions
create many skip existing
currently im thinking to use a hash id and hash the contents of the columns together and use that as the unique constraint, but I want to avoid using a hash since I dont want to the database to get big. I want to use numbers so it stores less data and is faster
13 replies
PPrisma
•Created by Bean on 7/12/2024 in #help-and-questions
create many skip existing
not quite. the columns themselves dont have any unique data. but its the combination of the columns that is unique
13 replies
PPrisma
•Created by Bean on 7/12/2024 in #help-and-questions
create many skip existing
@🔨 Moderator I apologize for pinging. but I need help and I do not know how to solve this issue
13 replies
PPrisma
•Created by Bean on 4/16/2024 in #help-and-questions
union type findMany
ya know. like what my original post said.....
14 replies
PPrisma
•Created by Bean on 4/16/2024 in #help-and-questions
union type findMany
I want to be able to make a defined operation that is long (find many where [x or y], select foo, include bar), over many different tables. but I want want to copy paste the code in case I need to change the query. so I want to be able to pass the table name as a variable and be type safe.
14 replies
PPrisma
•Created by Bean on 4/16/2024 in #help-and-questions
union type findMany
i dont get the point of this. this doesnt solve my problem at all
14 replies
PPrisma
•Created by Bean on 4/16/2024 in #help-and-questions
union type findMany
I know. but then I would completely lose TS errors which I really do not want. I wish there was a way for prisma to allow this directly in their TS code gen.
14 replies
PPrisma
•Created by Bean on 4/16/2024 in #help-and-questions
union type findMany
@snchmt did you figure it out?
14 replies
TTCTheo's Typesafe Cult
•Created by Bean on 9/11/2023 in #questions
What kind of db/storage do I need?
Good to know
5 replies