Efkan
Efkan
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Efkan on 11/27/2023 in #questions
How to handle after form submit with Server Actions ?
For now, I solved this with returning a random id from the action so checking that random id like formState.id inside useEffect solves the problem but this is very ugly
3 replies
TTCTheo's Typesafe Cult
Created by Efkan on 10/13/2023 in #questions
Drizzle Schema Boolean
@Josh I couldnt find any example for defining a column using the Drizzle's SQL operator and not giving away type-safety
8 replies
TTCTheo's Typesafe Cult
Created by Efkan on 10/13/2023 in #questions
Drizzle Schema Boolean
I'll try to do that, thank you.
8 replies
TTCTheo's Typesafe Cult
Created by Efkan on 10/13/2023 in #questions
Drizzle Schema Boolean
Thank you, I guess its not implemented in Drizzle ORM yet https://orm.drizzle.team/docs/indexes-constraints#check
8 replies
TTCTheo's Typesafe Cult
Created by Efkan on 10/13/2023 in #questions
Drizzle Schema Boolean
I've heard about generated columns but not sure if its what I need
8 replies