Closed thecampagnards closed 5 years ago
Hi @thecampagnards,
We use the issue tracker to track bugs with mgo - if you have a usage question, it's best to try Stack Overflow :)
I did a quick search and found this, which might be useful to your case. https://stackoverflow.com/questions/12008910/how-can-i-ask-mongodb-to-evaluate-some-javascript-in-order-to-obtain-value-for-a
If this doesn't help, I'd suggest to either have a deeper look on stackoverflow or open a question there directly.
Thanks! Esther
In a request I need to use a function :
I tried something like that:
But I have this error :
Does someone know how to do it, I didn't find anything on stackoverflow or here ?
Thanks