These are chat archives for Automattic/mongoose

4th
May 2019
Juan Jose Carracedo
@DonsWayo
May 04 16:21
Hi all, anyone can tell me how to push on array ob objects with the object id?
    user.games[0].players.push({ email: "loli@loli.com" });
in fact of [0] I want to save with the id of the object