Lisa lee
0
Q:

sequelize update not working

var gid = ...;
var uid = ...;

var values = { gid: gid };
var selector = { 
  where: { uid: uid }
};
myModel.update(values, selector)
.then(function() {
    // update callback
});
1

New to Communities?

Join the community