| ... | ... | @@ -30,7 +30,9 @@ 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:
|
|
|
|
|
|
|
|
## 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:
|
|
|
|
|
| ... | ... | @@ -44,7 +46,9 @@ system.entity.module is a reference to system.module.id: |
|
|
|
|
|
|
|
This fetches all the details of the linked module entry to each entity entry.
|
|
|
|
|
|
|
|
## 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:
|
|
|
|
|
| ... | ... | |