Type Alias: ScalarOptions<T>
ScalarOptions<
T>: {column:string;convert:ConversionOptions;generate:GeneratorOptions<T>;name:string;nullable:boolean;type:SqlType; }
Options shared by all scalar properties.
Type Parameters
| Type Parameter | Description | 
|---|---|
| T | The property type. | 
Type declaration
column?
optionalcolumn:string
The column name of the property.
convert?
optionalconvert:ConversionOptions
Value conversion options for the property.
generate?
optionalgenerate:GeneratorOptions<T>
Value generation options for the property.
name
name:
string
The name of the property.
nullable?
optionalnullable:boolean
The nullability of the property.
type?
optionaltype:SqlType
The SQL type of the property.