public ClickHouseColumn(string name, Type valueType, ColumnMappingSide mappingSide = ColumnMappingSide.Both) { Name = name; ValueType = MapType(valueType, out bool isNullable, out bool isArray); IsNullable = isNullable; IsArray = isArray; MappingSide = mappingSide; }
public ClickHouseColumn(string name, ClickHouseValueType valueType, bool isNullable = false, bool isArray = false, int?fixedStringLength = null, ColumnMappingSide mappingSide = ColumnMappingSide.Both) { Name = name; ValueType = valueType; IsNullable = isNullable; IsArray = isArray; FixedStringLength = fixedStringLength; MappingSide = mappingSide; }