How to get a plain row schema using drizzle-zod?
I am using these drizzle packages
I used drizzle kit to pull table schemas from a pg table
I want to get a plain schema that represents a row in this table
I tried this but cannot infer the type from this schema
The
I would let to get a zod schema that is an object that represents a row of the table
What am I doing wrong?
I used drizzle kit to pull table schemas from a pg table
I want to get a plain schema that represents a row in this table
I tried this but cannot infer the type from this schema
The
amBrandSchema seems to be of a type BuildSchema<"select",...>I would let to get a zod schema that is an object that represents a row of the table
What am I doing wrong?