mongodb通过子串查询ObjectId对应的record

select the records from collections post, whose _id contains substring '031' db.post.find({$where: "/031/.test(this._id.str)"})

2015-06-30 12:32:28

阅读数 521

评论数 0

使用mongostat监视mongodb

1, 监视一个mongod  mongostat 10.80.1.1:27018 1,监视replica set mongostat --host rs0/10.80.1.1:27018,10.80.1.2:27018,10.80.1.3:27018 --username youru...

2015-06-04 17:22:01

阅读数 1604

评论数 2

difference of top and left between Javascript and Jquery

1, top and left relative to the document jquery  .offset() Get the current coordinates of the first element, or set the coordinates of every elemen...

2015-06-02 17:36:04

阅读数 495

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭