不要怂,就是干,撸起袖子干!

Commit bf7a55ba by Sushant Committed by GitHub

docs(associations): fix incorrect statement about has* behaviour

1 parent 11ff7764
Showing with 1 additions and 1 deletions
......@@ -615,7 +615,7 @@ Project.create({ /* */ }).then(project => {
project.setUsers([user1, user2]).then(() => {
return project.hasUsers([user1]);
}).then(result => {
// result would be false
// result would be true
return project.hasUsers([user1, user2]);
}).then(result => {
// result would be true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!