mongo使用_id查询方法

使用_id来查询数据:
> db.foo.find({“_id” : ObjectId(“544a3dc0d4646f0c8c904962”)})

留下评论

您的邮箱地址不会被公开。 必填项已用 * 标注