Open Closed

MongoDB - Object type / Child Documents #3991


User avatar
0
marketbus created

In MongoDB Is there support for child documents or object properties in the abp framework? I.E. can my aggregate root have complex types? Using the suite, there seems to be only simple/primitive property type support.

For example:


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    In MongoDB Is there support for child documents or object properties in the abp framework?

    It's supported.

    Using the suite, there seems to be only simple/primitive property type support.

    @yekalkan what do you think?

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    @yekalkan what do you think?

    In the generated code, the child only holds the unique id of the other entity..

    for example, a book with many author:

    In MongoDB Is there support for child documents or object properties in the abp framework?

    Yes.

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