为了账号安全,请及时绑定邮箱和手机立即绑定

mongoose如何查找摸个数组里含有某个值?

mongoose如何查找摸个数组里含有某个值?

千万里不及你 2018-07-18 19:11:13
例如const ProjectSchema = new mongoose.Schema({name : { type:String },time : { type:Date, default:Date.now },url : { type: String},user : { type: Object},proId : {type: String},spaceId : {type: String},description: {type: String},participant: {type: Array}})我需要 通过 传入的id 查找,participant里面含有该id的数据
查看完整描述

目前暂无任何回答

  • 0 回答
  • 0 关注
  • 738 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信