Hello,
I use these sentences in shell of "mongodb" (I write it line by line).
When I write "documentos" the shell shows me the result of my query.
var ZZZ = db.mycollection.distinct( 'id', { event: 'a' } );
var documentos = db.mycollection.find({ id: { $in: ZZZ }});
documentos
How Can I do (to write) this query from "spoon" to output the results in a txt?
I use:
Input MONGODB > Input Json > Output Txt
Thank you!!