DOUBLE

Extends:

lib/data-types.js~ABSTRACTNUMBER → DOUBLE

Floating point number (8-byte precision).

Constructor Summary

Public Constructor
public

constructor(length: string | number, decimals: string | number)

Public Constructors

public constructor(length: string | number, decimals: string | number) source

Override:

NUMBER#constructor

Params:

Name Type Attribute Description
length string | number
  • optional

length of type, like DOUBLE PRECISION(25)

decimals string | number
  • optional

number of decimal points, used with length DOUBLE PRECISION(25, 10)

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