Ben Quan
Ben Quan
DTDrizzle Team
Created by Ben Quan on 11/4/2024 in #help
Semicolon separated emails using drizzle-zod.
correo: (schema) =>
schema.correo.refine((emailValue) =>
emailValue.split(';').every((item) => z.string().trim().email().safeParse(item).success)
),
correo: (schema) =>
schema.correo.refine((emailValue) =>
emailValue.split(';').every((item) => z.string().trim().email().safeParse(item).success)
),
3 replies
DTDrizzle Team
Created by Ben Quan on 11/4/2024 in #help
Semicolon separated emails using drizzle-zod.
Answering my own question:
3 replies
DTDrizzle Team
Created by jakeleventhal on 8/12/2023 in #help
What exactly is the `check` command doing?
Same issue... I have a database and I want to check if the database's schema is in accordance to the drizzle schema.
12 replies