| ... | @@ -30,7 +30,7 @@ will join and fetch all the attributes of the other entity. |
... | @@ -30,7 +30,7 @@ will join and fetch all the attributes of the other entity. |
|
|
|
|
|
|
|
Only references may be joined/prefetched. There are two ways to do this, depending on the direction of the reference:
|
|
Only references may be joined/prefetched. There are two ways to do this, depending on the direction of the reference:
|
|
|
|
|
|
|
|
1. An attribute of an entity is a reference to an attribute of another entity, use the attribute name to join or prefetch it:
|
|
## An attribute of an entity is a reference to an attribute of another entity, use the attribute name to join or prefetch it:
|
|
|
|
|
|
|
|
system.entity.module is a reference to system.module.id:
|
|
system.entity.module is a reference to system.module.id:
|
|
|
|
|
|
| ... | @@ -44,7 +44,7 @@ system.entity.module is a reference to system.module.id: |
... | @@ -44,7 +44,7 @@ system.entity.module is a reference to system.module.id: |
|
|
|
|
|
|
|
This fetches all the details of the linked module entry to each entity entry.
|
|
This fetches all the details of the linked module entry to each entity entry.
|
|
|
|
|
|
|
|
2. An attribute of an entity is being references by another attibute of a different entity, use `$model__$entity__$attribute` to join it:
|
|
## An attribute of an entity is being references by another attibute of a different entity, use `$model__$entity__$attribute` to join it:
|
|
|
|
|
|
|
|
system.module.id is being referenced by system.entity.module:
|
|
system.module.id is being referenced by system.entity.module:
|
|
|
|
|
|
| ... | | ... | |