摘要: 1、查询课程中包含math,chinese的课程 db.getCollection('student').find( { course:{$all:['math','chinese']} } ).pretty() 2.查询第二门课程是数学 db.getCollection('student').fi 阅读全文
posted @ 2018-05-14 23:34 江山一族 阅读(220) 评论(0) 推荐(0) 编辑