随笔分类 -  mongo

摘要:1、模糊查询:req_content存储为一个字符串 db.getCollection('xxx').find({"req_content":{$regex:"\"brandId\":\"127896\""}}) 2、列表查询:dish_ids存储为一个列表 db.getCollection('xx 阅读全文
posted @ 2020-09-06 21:17 tour8 阅读(141) 评论(0) 推荐(0)