فتح مغلق

Aggregation/Pipeline/UnWind usage with MongoDB to fetch Group By data #1565


User avatar
0
viswajwalith خلقت
  • ABP Framework version: v4.3.X
  • UI type: MVC
  • DB provider: MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes (Microservice Template)

Hi We would like to get the Data from MongoDB by grouping the same. It seems ur MongoDB repository is not having a support for Aggregation/Pipeline/UnWind usage (correct us if we are worng)

For Example: We would like

  1. fetch the data by Priority (GUID) along with Filers
  2. fetch the data by Tags List<GUID> along with Filers

Let me know if you need any info.


4 إجابة (إجابات)
  • User Avatar
    0
    alper خلقت
    فريق الدعم Director

    we'll test and get back to you

  • User Avatar
    0
    viswajwalith خلقت

    we'll test and get back to you

    Sure will be waiting for ur response.

  • User Avatar
    1
    liangshiwei خلقت
    فريق الدعم Fullstack Developer

    Hi,

    We have GetAggregateAsync method, you can use it: https://github.com/abpframework/abp/blob/d92cc3d289cea1bc6e914621dae268c552693357/framework/src/Volo.Abp.MongoDB/Volo/Abp/Domain/Repositories/MongoDbCoreRepositoryExtensions.cs#L52

  • User Avatar
    0
    ServiceBot خلقت
    فريق الدعم Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11