flynn's devnote
  • Home
  • AboutMe
  • coding activity
  • Study
  • book
  • flynnlab

sequelize.js

A collection of 1 post

nodejs

sequelize.js 와 promise Q 함께쓰기

ISSUE sequelize.js에서 promise 패턴으로 개발 할 수 있는데 return [] 은 지원하지 않는다. return [] promise 패턴으로 가장 유명한 Q를 주로 사용한다. return getUsername() .then(function (username) { return [username, getUser(username)]; }) .spread(function (username,

  • flynn
    flynn
1 min read
flynn's devnote © 2021
Latest Posts Facebook Twitter Ghost