我正在将Sequelize与MySQL配合使用。
当我运行此代码时:
usuarioService.getAll = function () {
Usuario.findAll().then(function (users) {
//return users;
console.dir(users);
});
}
Run Code Online (Sandbox Code Playgroud)
而不是获得用户,我得到:
http://i.stack.imgur.com/uLhmN.png
请帮帮我!我要疯了!
谢谢