typefusion
    Preparing search index...

    Class MySqlType<Type>

    This is a simple wrapper class to represent a MySQL 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 MySqlType<Nullable<string>>("myCustomType");
    

    Type Parameters

    • Type

    Hierarchy

    • DbType<Type>
      • MySqlType
    Index

    Constructors

    Properties

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

    Methods