Back to Sequelize

CHAR

static/v5/class/lib/data-types.js~CHAR.html

latest1.4 KB
Original Source

publicclass| source

CHAR

Extends:

lib/data-types.js~ABSTRACT → STRING → CHAR

CHAR A fixed length string

Constructor Summary

| Public Constructor | | public |

constructor(length: number, binary: boolean)

| |

Public Constructors

publicconstructor(length: number, binary: boolean) source

Override:

STRING#constructor

Params:

| Name | Type | Attribute | Description | | length | number |

  • optional
  • default: 255

|

length of string

| | binary | boolean |

  • optional
  • default: false

|

Is this binary?

|