Back to Sequelize

ARRAY

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

latest643 B
Original Source

publicclass| source

ARRAY

Extends:

lib/data-types.js~ABSTRACT → ARRAY

An array of type. Only available in Postgres.

Example:

DataTypes.ARRAY(DataTypes.DECIMAL)

Constructor Summary

| Public Constructor | | public |

constructor(type: ABSTRACT)

| |

Public Constructors

publicconstructor(type: ABSTRACT) source

Params:

| Name | Type | Attribute | Description | | type | ABSTRACT | |

type of array values

|