- Sequelize
- Data Type
Sequelize
ORM for Node.js
Data Type
Sequelize.STRING //--- VARCHAR(255)
Sequelize.STRING(~) //--- VARCHAR(~)
Sequelize.STRING.BINARY //--- VARCHAR BINARY
Sequelize.TEXT //--- TEXT
Sequelize.TEXT('medium') //--- TINYTEXT, MEDIUMTEXT, LONGTEXT
Sequelize.BLOB //--- BLOB
Sequelize.BLOB('tiny') //--- TINYBLOB, MEDIUMBLOB, LONGBLOB
Sequelize.ENUM('~', '~') //--- ENUM
Sequelize.UUID //--- UUID
Sequelize.JSON //--- JSON
Sequelize.INTEGER //--- INTEGER
Sequelize.BIGINT //--- BIGINT
Sequelize.BIGINT(~) //--- BIGINT(~)
Sequelize.FLOAT //--- FLOAT와 DOUBLE은 사용법이 같음
Sequelize.FLOAT(~) //--- FLOAT(~)
Sequelize.FLOAT(~, ~) //--- FLOAT(~, ~)
Sequelize.DECIMAL //--- DECIMAL
Sequelize.DECIMAL(~, ~) //--- DECIMAL(~, ~)
Sequelize.BOOLEAN //--- TINYINT(1)
Sequelize.DATE //--- DATETIME
Sequelize.DATEONLY //--- DATE without time.
Sequelize.GEOMETRY //--- Spatial
Sequelize.GEOMETRY('POINT') //--- Spatial
Sequelize.GEOMETRY('POINT', ~) //--- Spatial
최종 수정일: 2024-09-30 12:26:18
이전글 :
다음글 :