Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A api
  • Project information
    • Project information
    • Activity
    • Members
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • ironapi
  • api
  • Wiki
  • Api
  • Queries
  • Attributes

Attributes · Changes

Page history
x authored Jan 21, 2022 by Andrea Pavlovic's avatar Andrea Pavlovic
Hide whitespace changes
Inline Side-by-side
API/Queries/Attributes.md
View page @ 2c52cfaf
......@@ -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:
......
Clone repository
  • API
    • Available Endpoints
    • Changing Passwords
    • Form Input Types
    • Introduction
    • Logout
    • Plugins
    • Queries
    • Queries
      • Attributes
      • Context
      • Query Examples
      • Query Search Options
      • Referenced Instances
      • Saved Queries
    • Schema_Changes
    • Storing Files
View All Pages