ENUM
Extends:
lib/data-types.js~ABSTRACT → ENUM
An enumeration, Postgres Only
Example:
DataTypes.ENUM('value', 'another value')
DataTypes.ENUM(['value', 'another value'])
DataTypes.ENUM({
  values: ['value', 'another value']
})
    Constructor Summary
| Public Constructor | ||
| public | 
       constructor(args: ...any | {values: any[]} | any[])  | 
    |
Public Constructors
public constructor(args: ...any | {values: any[]} | any[]) source
Params:
| Name | Type | Attribute | Description | 
| args | ...any | {values: any[]} | any[] | either array of values or options object with values array. It also supports variadic values  | 
    
  
  API Reference
  Source