How can i replace a field in pre 'find" with concatenated value?

前端 未结 0 1971
北海茫月
北海茫月 2021-01-05 01:34

I need replace the field path_file

 PersonSchema.pre(\'find\', function() {
     ?? .aggregate([ { $project: { "image_profile.path_file": {$concat:          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题