smile_elims

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2016年5月20日

摘要: db.T_Forum_Thread.find({ "ThreadReply.ReplyContent" : /范甘迪/ }, { "ThreadReply.$" : 1, "ThreadContent" : 1 }) 重点在于返回字段:ThreadReply.$:1 如果内嵌的数组有多个符合条件只返 阅读全文
posted @ 2016-05-20 14:53 smile_elims 阅读(517) 评论(0) 推荐(0)