Starts in:
2 DAYS
2 HRS
33 MIN
8 SEC
Starts in:
2 D
2 H
33 M
8 S
Open Closed

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


User avatar
0
viswajwalith created
  • 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 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    we'll test and get back to you

  • User Avatar
    0
    viswajwalith created

    we'll test and get back to you

    Sure will be waiting for ur response.

  • User Avatar
    1
    liangshiwei created
    Support Team 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 created
    Support Team Automatic process manager

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

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06