How to convert Mongo cli command to spring-data-mongo command for mongo aggreagtion using mongoTemplate

后端 未结 0 465
闹比i
闹比i 2021-02-10 12:12

I want to write the following query using mongo template.

db.collection.aggregate([
  {
    $project: {
      classes: {
        $map: {
          input: "$c         


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