Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

mongodb 文本索引

$
0
0

const FeedbackSchema = new Schema({ content: String, user: { mobile: String, real_name: String, description: String, } }) 例如有个这样的schema,user字段是一个对象,如何给user字段的description添加文本索引?


Viewing all articles
Browse latest Browse all 14821

Trending Articles