/** * int Column types with length */ export declare type IntLengthColumnType = "int" | "tinyint" | "smallint" | "mediumint" | "bigint"; /** * int Column types */ export declare type IntColumnType = IntLengthColumnType | "int2" | "int2" | "int4" | "int8" | "integer" | "unsigned big int"; export declare type RealColumnType = "float" | "real" | "float4" | "double precision" | "float8" | "double"; /** * Decimal column types */ export declare type DecimalColumnType = "dec" | "decimal" | "numeric" | "number" | "smallmoney" | "money"; /** * Date column types */ export declare type DateColumnType = "date"; /** * Date Time column types */ export declare type DateTimeColumnType = "datetime" | "datetime2" | "smalldatetime" | "datetimeoffset" | "timestamp"; /** * Time column types */ export declare type TimeColumnType = "time"; export declare type IntervalColumnType = "interval year" | "interval day" | "interval" | "year"; export declare type RowVersionColumnType = "rowversion"; export declare type BinaryColumnType = "binary" | "varbinary" | "tinyblob" | "mediumblob" | "blob" | "longblob" | "bytea" | "long" | "raw" | "long raw" | "bfile" | "clob" | "nclob" | "image"; /** * Column types where column length is used. */ export declare type StringColumnType = "character varying" | "varying character" | "nvarchar" | "character" | "native character" | "varchar" | "char" | "nchar" | "varchar2" | "nvarchar2"; /** * Column types with large string value. */ export declare type TextColumnType = "tinytext" | "mediumtext" | "text" | "ntext" | "longtext" | "citext"; /** * Boolean column types */ export declare type BooleanColumnType = "bit" | "boolean" | "bool"; /** * Geometric column types */ export declare type GeometricColumnType = "point" | "line" | "lseg" | "box" | "circle" | "path" | "polygon"; /** * column type used for identifier */ export declare type IdentifierColumnType = "uuid" | "uniqueidentifier"; /** * column type with string data format */ export declare type SerializeColumnType = "xml" | "json" | "jsonb"; export declare type EnumColumnType = "enum"; /** * All other regular column types. */ export declare type OtherColumnType = "rowid" | "urowid" | "cidr" | "inet" | "macaddr" | "bit" | "bit varying" | "varbit" | "tsvector" | "tsquery" | "varbinary" | "cursor" | "hierarchyid" | "sql_variant" | "table"; /** * Any column type column can be. */ export declare type ColumnType = IntColumnType | DecimalColumnType | RealColumnType | DateColumnType | DateTimeColumnType | TimeColumnType | IntervalColumnType | RowVersionColumnType | BinaryColumnType | StringColumnType | TextColumnType | BooleanColumnType | GeometricColumnType | IdentifierColumnType | SerializeColumnType | EnumColumnType | OtherColumnType; export declare type ColumnTypeGroup = "String" | "Boolean" | "Integer" | "Decimal" | "Real" | "Binary" | "Serialize" | "Date" | "Time" | "DateTime" | "Enum" | "Identifier" | "RowVersion"; export declare type DefaultColumnTypeMapKey = "defaultString" | "defaultBoolean" | "defaultInteger" | "defaultDecimal" | "defaultReal" | "defaultBinary" | "defaultSerialize" | "defaultDate" | "defaultTime" | "defaultDateTime" | "defaultEnum" | "defaultIdentifier" | "defaultRowVersion"; export declare type ColumnTypeMapKey = ColumnType | DefaultColumnTypeMapKey;