Uploaded image for project: 'Magnolia GraphQL'
  1. Magnolia GraphQL
  2. MGNLGQL-78

DOC: How to get all items that reference a specific item

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Neutral
    • None
    • None
    • None
    • HL & LD 29, HL & LD 30
    • 2

    Description

      A common use case. ie give me all books by a certain author. 

      (Books link to authors)

      Query is this. You have to do it by UUID:

      {    books (filter: "@authors LIKE '%33fd679b-048d-4732-b8c5-6ce432bfc630%'"){        title        publish_date    }}

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mdrapela Martin Drápela
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD