阅读背景:

使用passport和sequelize使用谷歌社交登录时执行多次查询。

来源:互联网 

Hi Guys this is my first question so please be patient, I'm having a problem using passport with sequelize, the problem happens after i search at the database for the record to check if the user already exists but when passport deserializes it, Sequelize executes five 'select queries', the code is similar to one i found in scotch.io i just attached sequelize api to it:Hi Guys this is my first question so please be




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: