mmurto
mmurto
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Liam on 6/12/2023 in #questions
Unique Constraint in Drizzle
You're welcome! That probably means that drizzle doesn't support the NULLS/NOT/DISTINCT paramenters here: https://www.postgresql.org/docs/current/indexes-unique.html
6 replies
TTCTheo's Typesafe Cult
Created by Liam on 6/12/2023 in #questions
Unique Constraint in Drizzle
Add a unique index like the emailIdx here https://orm.drizzle.team/docs/indexes-constraints#indexes
6 replies
TTCTheo's Typesafe Cult
Created by mmurto on 4/11/2023 in #questions
Handle trailing slash in NextJS API routes?
Never mind, stupid error on reading the Fibery docs 🙂
3 replies
TTCTheo's Typesafe Cult
Created by mmurto on 3/13/2023 in #questions
How to get context type of protectedProcedure?
Do you mean infer or inferred type? I'm trying to get the type to use as the input for a function, so not sure how they work for that.
5 replies
TTCTheo's Typesafe Cult
Created by mmurto on 3/13/2023 in #questions
How to get context type of protectedProcedure?
I'm not sure how exactly.
5 replies
TTCTheo's Typesafe Cult
Created by utdev on 2/20/2023 in #questions
Delete file from s3 using presigned urls
Not sure of why the presigned url doesn't work, but is there a reason why you don't delete it directly in the handler after you delete the data from database?
3 replies
TTCTheo's Typesafe Cult
Created by mmurto on 2/20/2023 in #questions
How to redirect from login page with trpc's SSR enabled?
Thanks, that's probably it!
3 replies