Back to Sequelize

DATE

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

latest1.2 KB
Original Source

publicclass| source

DATE

Extends:

lib/data-types.js~ABSTRACT → DATE

Date column with timezone, default is UTC

Constructor Summary

| Public Constructor | | public |

constructor(length: string | number)

| |

Public Constructors

publicconstructor(length: string | number) source

Params:

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

  • optional

|

precision to allow storing milliseconds

|