Open Closed

How to use Objects, Arrays and Embedded/Nested document with MongoDB Entities ? #1747


User avatar
0
yousef.h85@gmail.com created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v4.4.0
  • UI type: Angular / MVC / Blazor
  • DB provider: MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Dear Sir

How to add Complex JSON nesting of objects and arrays to the MongoDB entities? is it supported? (see sample below):


5 Answer(s)
  • User Avatar
    0
    yousef.h85@gmail.com created

    **Edited & Updated **

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Have you tried using mongodb's API in the repository?

    We are not as familiar with Mongodb as we are familiar with EF Core, you can try it.

  • 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.

  • User Avatar
    1
    Marten created

    Hi

    I have the same question basically, I did a test as mentioned above adding a nested object on the entity directly in the repository and it worked fine saving the nested data in mongodb.

    Are there any plans on adding support for nested objects in ABP Suite?

  • User Avatar
    1
    maliming created
    Support Team Fullstack Developer

    Thanks Marten

    Are there any plans on adding support for nested objects in ABP Suite?

    @alper.ebicoglu What do you think?

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11