typefusion
    Preparing search index...

    Class ClickhouseType<Type>

    This is a simple wrapper class to represent a Clickhouse type that will be used to define a table. It also provides a fluent API to set properties of the column (e.g. nullability). You can easily create your own custom types by instantiating this class.

    const myCustomType = new ClickhouseType<Nullable<string>>("myCustomType");
    

    Type Parameters

    • Type

    Hierarchy

    • DbType<Type>
      • ClickhouseType
    Index

    Constructors

    Properties

    _nullable: boolean
    _tag: string = "ClickhouseType"
    dbType: string

    Methods