Back to Sequelize

STRING

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

latest1.3 KB
Original Source

publicclass| source

STRING

Extends:

lib/data-types.js~ABSTRACT → STRING

Direct Subclass:

CHAR

STRING A variable length string

Constructor Summary

| Public Constructor | | public |

constructor(length: number, binary: boolean)

| |

Public Constructors

publicconstructor(length: number, binary: boolean) source

Params:

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

  • optional
  • default: 255

|

length of string

| | binary | boolean |

  • optional
  • default: false

|

Is this binary?

|