[02:40:44] <sunGuy_> 22:25 sunGuy_: Is there any way to validate the foreign keys before saving the object. Possibly in schema.pre(‘save’)
[08:29:58] <shayla> Hi guys, i'm having a trouble with an aggregation. My aggregation is: https://pastebin.com/27875jfa . The result is correct and the aggregation works good. Now I want to do some operation to that aggregation so I assign it to a variable: var result = [aggregation]. From that I am not able to do anything with that variable not loop, not get any valu
[08:29:59] <shayla> e. I can just type "result" on my mongo console and get the same thing I get without the variable for just one time (cause if I re-type result I get anything). Is there any suggestion? Thank you.