Skip to main content

emit_insert_schema

Function emit_insert_schema 

Source
pub fn emit_insert_schema(table: &TableSpec) -> String
Expand description

Emit the Zod insert schema — columns with a DEFAULT become .optional().