User.query({where: {name:nm}, andWhere: {password: pw}}).fetch()
これの戻り値が Promise オブジェクトが返ります。
(new Promise()).then(成功時の関数).catch(失敗時の関数)
みたいな
Go to list of users who liked
More than 3 years have passed since last update.
User.query({where: {name:nm}, andWhere: {password: pw}}).fetch()
これの戻り値が Promise オブジェクトが返ります。
(new Promise()).then(成功時の関数).catch(失敗時の関数)
みたいな
Register as a new user and use Qiita more conveniently
Go to list of users who liked