PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Wednesday the 1st of April, 2020

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[10:24:22] <Joaolvcm[m]> i have a tree like structure that on the database it is set as {name, children[ ObjectId(...), ObjectId(...), ObjectId(...)]} , is there any way make mongo save parent and children in one request? instead of recursivly creating a save() to get the Ids from children to parent?
[23:26:37] <c4017> I have several PCs pushing to a MongoDB server. One of the PCs had it's time set incorrectly, so the _id are not in chronological order. Is there some other way to sort by insertion time?
[23:30:54] <c4017> The end goal is to have a script that will occasionally look at the database and process any new entries. Currently, I just sort by _id and grab documents until I see one that I've seen before, but I ran into trouble because of this one PC with its time wrong.
[23:32:01] <c4017> Short of cross checking the entire database with the processed version every time, I don't know how else to reliably find the new documents