LoginSignup
0
0

More than 3 years have passed since last update.

JavascriptのPromiseを解説します

Posted at
User.query({where: {name:nm}, andWhere: {password: pw}}).fetch()

これの戻り値が Promise オブジェクトが返ります。

(new Promise()).then(成功時の関数).catch(失敗時の関数)

みたいな

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0