Code
Index of Using MongoDB
In this post, I am going to list a set of page as navigation, so that we can use MongoDB easier. (more…)
MongoDB (from “humongous”) is an open-source document database, and the leading NoSQL database.
In this post, I am going to list a set of page as navigation, so that we can use MongoDB easier. (more…)
Here is a sample code to cleanup MongoDB tasks. (more…)
MongoDB 有一个重要的功能, 索引. 这是避免我们查询的时候每次都要从头全局遍历一下的必要方法. (more…)
通过mongo自带的命令行进入后,db.coll_name.findOne(),可以发现mongo返回的数据是被format过的,看起来各种爽。但若你抽一下,改用db.coll_name.find(),瞬间弥漫而来的是各种unformatted数据,根本没法看。其实我们很容易就可以调整让它显示地更加漂亮。 现在有两种方法可以做到这点。 (more…)