mongodb 查询是区分大小写的,如:
db.getCollection('community').find({'id':{$in:[32323067,32552635]},community_name_pinyin: 'bobocheng'})
跟
db.getCollection('community').find({'id':{$in:[32323067,32552635]},community_name_pinyin: 'BOBOcheng'})
查询出来的结果是不一样的
mysql中:
mongodb 中:
db.getCollection('community').find({'id':{$in:[32323067,32552635]},community_name_pinyin: 'bobocheng'})
db.getCollection('community').find({'id':{$in:[32323067,32552635]},community_name_pinyin: 'BOBOcheng'})