Open Closed

Search, Filter & Soft for Navigation Properties with MongoDB #1785


User avatar
0
viswajwalith created
  • ABP Framework version: v4.4.X
  • UI type: MVC
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes (Microservice Template)
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

We have a Page where we have multiple Navigation Properties to the Entity, We woud like to have a Search (Free text) & Sorting on Navigation property columns. Is it supported in current version?

I saw a related post https://support.abp.io/QA/Questions/829/MongoDB-repository-and-use-of-the-aggregation-framework-for-sorting-and-inclusion-of-navigation-properties so would like to get a clarification on the approch to fullfill our requirement.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

6 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    https://github.com/abpframework/abp/blob/48c52625f4c4df007f04d5ac6368b07411aa7521/framework/src/Volo.Abp.MongoDB/Volo/Abp/Domain/Repositories/MongoDB/IMongoDbRepository.cs#L28

    We have provided the GetAggregate API, you can use it to do anything mongodb can do

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    viswajwalith created

    Hi,

    https://github.com/abpframework/abp/blob/48c52625f4c4df007f04d5ac6368b07411aa7521/framework/src/Volo.Abp.MongoDB/Volo/Abp/Domain/Repositories/MongoDB/IMongoDbRepository.cs#L28

    We have provided the GetAggregate API, you can use it to do anything mongodb can do

    Thanks for the response, We will check and let you in case of any concerns, In Meantime if u have any working sample that would be helpful.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Reopen if you don't resolve the problem.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    viswajwalith created

    Reopen if you don't resolve the problem.

    Hi @maliming do you have any sample for this?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi viswajwalith

    Sorry, I'm not good at MongoDb.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    viswajwalith created

    hi viswajwalith

    Sorry, I'm not good at MongoDb.

    No worries, If possible we will try to provide some inputs if we are able to break it out

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.