Quantcast
Channel: Node.jsタグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 9191

JavascriptのPromiseを解説します

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

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

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

みたいな


Viewing all articles
Browse latest Browse all 9191

Trending Articles