[MGNLGQL-78] DOC: How to get all items that reference a specific item Created: 04/Mar/21  Updated: 07/Jun/21  Resolved: 07/Jun/21

Status: Closed
Project: Magnolia GraphQL
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Martin Drápela
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by MGNLGQL-98 DOC: How to filter for a multivalue p... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: GraphQL Phase 1
Sprint: HL & LD 29, HL & LD 30
Story Points: 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    }}

 



 Comments   
Comment by Christopher Zimmermann [ 08/Mar/21 ]

Re "See how this even works and if we want to include it in docu." - while you are at it (jsimak) if you think this should not be supported, can you suggest how a user would accomplish this task / or how we would make it possible? The use case is one that we want to support. A similar related case would be - give me all items that have a specific tag.

Generated at Mon Feb 12 05:52:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.