فتح مغلق

MongoDB - Object type / Child Documents #3991


User avatar
0
marketbus خلقت

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 إجابة (إجابات)
  • User Avatar
    0
    maliming خلقت
    فريق الدعم 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 خلقت
    فريق الدعم 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 v8.2.0-preview Updated on مارس 25, 2024, 15:11