摘要: 简单查询:查询过程中需要注意字段值的数据类型Boolean、String、DBRef.... 1.根据id查询: db.COLLECTION_NAME.find({_id:ObjectId("5bd80e1867f3337d4c2aac59")}) 2.根据字段查询: db.getCollectio 阅读全文
posted @ 2018-11-16 00:18 麋鹿森林h 阅读(176) 评论(0) 推荐(0)