You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we made it into the core of this tool by using Mongoose Watch
Something like this
UserMD.watch().on("change", (data) => {
if (data.operationType === "insert") {
console.log("User inserted: ", data.fullDocument);
}
if (data.operationType === "replace") {
console.log("User updated: ", data.fullDocument);
}
if (data.operationType === "delete") {
// Like here the user was deleted so it's time to detelet his or her information from all the groups.
console.log("User deleted: ", data._id);
}
});
This is the most common Mongo DB and GraphQL issue so if this tool solve it like it solved the query long time making then this tool will get a boost up.
Can we made it into the core of this tool by using Mongoose Watch
Something like this
This is the most common Mongo DB and GraphQL issue so if this tool solve it like it solved the query long time making then this tool will get a boost up.
Originally posted by @maheraldous in #409 (comment)
The text was updated successfully, but these errors were encountered: