Sequelize

wwiki
이동: 둘러보기, 검색

promise-based Node.js ORM(Object-Relational Mapping) for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL

설치[편집 | 원본 편집]

$ npm install --save sequelize

초기화[편집 | 원본 편집]

sequelize init

models폴더가 index.js파일이 생성된다.

Example[편집 | 원본 편집]

https://sequelize.org/v4/