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

前端 未结 0 965
轻奢々
轻奢々 2021-01-05 01:18

I need replace the field path_file

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


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