Skip to content

[QUESTION] Model relationships between domains. #22

@voyc-jean

Description

@voyc-jean

I would just like some clarity on this. The user guide states that UUID fields should be used for model relationships, and that Services should control the relationship between models.

If a relationship spans multiple tables, say: Book -> Author -> Organisation -> Address, does this mean we would need to execute 4 SELECT queries (through different APIs) if we want a Book's Address, aggregating the results similar to Django's prefetch functionality?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions