Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
現在、関連付け属性をに設定していますがnull、これにより例外がスローされる場合がありますか?
null
例えば。
Profile.update({user: user.id}, {user: null}, function (err, profiles) {});
これを行う適切な方法はありますか?
これが正しい方法です。1:1 関連付けの PubSub 実装にバグがあり、現在パッチが適用されているため、今後は例外は表示されません。