Answers for "print from mongo console to file"

0

print from mongo console to file

> EDITOR="cat > /tmp/x.json"
> x = db.MyCollection.find(...).toArray()
> edit x
>
Posted by: Guest on April-30-2021

Browse Popular Code Answers by Language