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

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

XMLWordPrintable

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

      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    }}

       

        Acceptance criteria

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

                Created:
                Updated:
                Resolved: