Package version:

Interface TypeConversionSettings

Type conversion settings

interface TypeConversionSettings {
    allowDataTruncation?: any;
    culture?: any;
    dateFormat?: any;
    dateTimeFormat?: any;
    dateTimeOffsetFormat?: any;
    timeFormat?: any;
    timeSpanFormat?: any;
    treatBooleanAsNumber?: any;
}

Properties

allowDataTruncation?: any

Whether to allow data truncation when converting the data. Type: boolean (or Expression with resultType boolean).

culture?: any

The culture used to convert data from/to string. Type: string (or Expression with resultType string).

dateFormat?: any

The format for Date values. Type: string (or Expression with resultType string).

dateTimeFormat?: any

The format for DateTime values. Type: string (or Expression with resultType string).

dateTimeOffsetFormat?: any

The format for DateTimeOffset values. Type: string (or Expression with resultType string).

timeFormat?: any

The format for Time values. Type: string (or Expression with resultType string).

timeSpanFormat?: any

The format for TimeSpan values. Type: string (or Expression with resultType string).

treatBooleanAsNumber?: any

Whether to treat boolean values as numbers. Type: boolean (or Expression with resultType boolean).