These are chat archives for Automattic/mongoose

23rd
Oct 2015
Edgar Nunes
@eggytronixx
Oct 23 2015 22:53
I have two models : user = (likedWines:{type:Types.Relationship, ref:'wine', many:true})
wine = (usersLikes:{type:Types.Relationship, ref:'user', many:true}) - how would you make sure that both document always get saved? or should I only use one and query one for both operations.