Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我是 gridfs 的新手,能够使用以下查询插入文件并在 gridfs 中查看文件
mongofiles -d myfiles put hi.txt db.fs.files.findOne({'filename':'hi.txt'});
我需要查看文件的内容(hi.txt)我试过getResources但它似乎没有用。我被困在这里,任何帮助都会很有帮助