CHAR

Extends:

lib/data-types.js~ABSTRACTSTRING → CHAR

CHAR A fixed length string

Constructor Summary

Public Constructor
public

constructor(length: number, binary: boolean)

Public Constructors

public constructor(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?

Copyright © 2014–present Sequelize contributors
Licensed under the MIT License.
https://sequelize.org/master/class/lib/data-types.js~CHAR.html