postgrelize / DataTypes / IntegerFamilyDataType
Interface: IntegerFamilyDataType ​
Defined in: src/data-types/data-types.ts:370
Base of the integer types: they accept UNSIGNED and ZEROFILL.
Extends ​
Extended by ​
Properties ​
key ​
readonlykey:string
Defined in: src/data-types/data-types.ts:307
Sequelize v6 type key, e.g. 'DECIMAL'.
Inherited from ​
options ​
readonlyoptions:NumberDataTypeOptions
Defined in: src/data-types/data-types.ts:367
Arguments the type was created with.
Inherited from ​
sqlType ​
readonlysqlType:string
Defined in: src/data-types/data-types.ts:309
PostgreSQL column type, e.g. 'DECIMAL(10,2)'.
Inherited from ​
UNSIGNED ​
readonlyUNSIGNED:IntegerFamilyDataType
Defined in: src/data-types/data-types.ts:372
Accepted for compatibility; has no effect in PostgreSQL.
ZEROFILL ​
readonlyZEROFILL:IntegerFamilyDataType
Defined in: src/data-types/data-types.ts:374
Accepted for compatibility; has no effect in PostgreSQL.
Methods ​
toSql() ​
toSql():
string
Defined in: src/data-types/data-types.ts:311
The PostgreSQL column type.
Returns ​
string