PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Tuesday the 30th of March, 2021

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[11:20:58] <Joaolvcm[m]> i'm trying to get a list of ObjectIds as string, i tried using this '{ $project: {total: { $map: { input: '$total', as: 'y', in: { $convert: { input: '$$y', to: 'string' } } } }', but i get 'Error: Arguments must be aggregate pipeline operators' any help on how to do this?
[11:26:15] <Joaolvcm[m]> i've tried with `total: { $map: { input: '$total', as: 'y', in: { $toString: '$$y' } } }` but i get the same problem