如何浏览或查询实时 MongoDB 数据?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2411087/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 11:42:56  来源:igfitidea点击:

How can I browse or query live MongoDB data?

mongodb

提问by Gonzalo

I've googled around but couldn't find a working MongoDB viewer or data browser.

我用谷歌搜索,但找不到工作的 MongoDB 查看器或数据浏览器。

An ideal (for my needs) tool would be a web based viewer with dead simple features (browsing and doing queries).

一个理想的(根据我的需要)工具是一个基于 Web 的查看器,具有非常简单的功能(浏览和查询)。

采纳答案by shingara

回答by NickGreen

See: http://nosql.mypopescu.com/post/334469038/a-couple-of-nice-gui-tools-for-mongodbHopefully it'll be updated frequently when new tools are available!

请参阅:http: //nosql.mypopescu.com/post/334469038/a-couple-of-nice-gui-tools-for-mongodb希望当新工具可用时它会经常更新!



EDIT:

编辑:

Better overview: http://www.mongodb.org/display/DOCS/Admin+UIs

更好的概述:http: //www.mongodb.org/display/DOCS/Admin+UIs

I just tried MongoVUE and it works like a charm! Check it out: http://www.mongovue.com/

我刚刚尝试了 MongoVUE,它的作用就像一个魅力!看看:http: //www.mongovue.com/

回答by bububa

MongoHub is moved to a native mac version, please check http://github.com/bububa/MongoHub-Mac.

MongoHub 移至原生 mac 版本,请查看http://github.com/bububa/MongoHub-Mac

回答by Thank you

genghisappis what you want.

genghisapp就是你想要的。

It is a web-based GUI that is clean, light-weight, straight-forward, offers keyboard shortcuts, and works awesomely. It also supports GridFS.

它是一个基于 Web 的 GUI,干净、轻量、直接,提供键盘快捷键,并且工作得非常好。它还支持GridFS.

Best of all, it's a single script!

最棒的是,它是一个单一的脚本!



search

搜索

json editor

json 编辑器



To install it

安装它

$ gem install genghisapp bson_ext

(bson_extis optional but will greatly improve the performance of the gui)

(bson_ext是可选的,但会大大提高 gui 的性能)



To run it(this will automatically open your web browser and navigate to the app as well)

运行它(这将自动打开您的网络浏览器并导航到该应用程序)

genghisapp


To stop it

阻止它

genghisapp --kill

回答by Ved

https://github.com/Imaginea/mViewer

https://github.com/Imaginea/mViewer

I have tried this one and as a viewer it's awesome with tree and document views.

我已经尝试过这个,作为查看器,它的树和文档视图很棒。

回答by chris

Im just testing Rock_Mongo

我只是在测试Rock_Mongo

It's a nice tool, written in PHP.

这是一个很好的工具,用 PHP 编写。

回答by Avi Kapuya

MogoVueis the best option I found so far, it has great features I did not see in other viewers, plus it gives few options to look at the data, as json, tables and hierarchy, which is extremely useful.

MogoVue是迄今为止我发现的最佳选择,它具有我在其他查看器中没有看到的强大功能,而且它提供了很少的选项来查看数据,如 json、表和层次结构,这非常有用。

Avoid MongoExplorer, it has major issues, which can cause you huge headaches. When viewing records using this tools, it may change fields which are MongoId's to plane string, it does not give any indication on this, just does it when you focus on the id field, this bug cost me lots of time and effort trying to find "what and where in my code i'm doing this silly thing"...

避免使用 MongoExplorer,它有很大的问题,可能会让你头疼。使用此工具查看记录时,它可能会将 MongoId 的字段更改为平面字符串,它对此没有任何指示,只是当您专注于 id 字段时才这样做,这个错误花费了我很多时间和精力试图找到“在我的代码中,我在做什么以及在何处做这件愚蠢的事情”...

回答by elatonsev

There a lot of UIs on official mongo site http://www.mongodb.org/display/DOCS/Admin+UIs

mongo 官方网站上有很多 UI http://www.mongodb.org/display/DOCS/Admin+UIs

回答by Thomas O

To add to the list :)

添加到列表中:)

I just made a simple Mongo browser based on a hierarchical JQueryTreeview and implemented in Sinatra and Ruby.

我刚刚基于分层 JQueryTreeview 制作了一个简单的 Mongo 浏览器,并在 Sinatra 和 Ruby 中实现。

The reason for another viewer was that I wanted something that was fast and easy (both to use and the code base), that would let me peek at what was going on my MongoDB. Also, I wanted some nice Ajax effects. and could be the base of a more complete browser.

另一个查看器的原因是我想要快速和简单的东西(包括使用和代码库),这样我就可以看到我的 MongoDB 上发生了什么。另外,我想要一些不错的 Ajax 效果。并且可以成为更完整浏览器的基础。

https://github.com/tomjoro/mongo_browser

https://github.com/tomjoro/mongo_browser