ts-sql-codegen / GeneratedField
Specifies options for the generated field mapping
The options here are ts-sql-query specific
-
TypeOf<typeofGeneratedFieldSchema>↳
GeneratedField
• Optional hasDefault: null | boolean
z.TypeOf.hasDefault
• Optional isComputed: null | boolean
z.TypeOf.isComputed
• Optional isOptional: null | boolean
z.TypeOf.isOptional
• Optional name: null | string
z.TypeOf.name
• Optional type: null | { adapter?: null | { importPath?: null | string ; isDefault?: null | boolean ; isRelative?: null | boolean ; name: string } ; dbType?: null | { name: string } ; kind?: null | "custom" | "customComparable" | "enum" | "customInt" | "customDouble" | "customUuid" | "customLocalDate" | "customLocalTime" | "customLocalDateTime" ; tsType?: null | { importPath?: null | string ; isDefault?: null | boolean ; isRelative?: null | boolean ; name: string } }
z.TypeOf.type