Repository navigation
One query to fill multiple cached queries #628
Unanswered
whitingjon
asked this question in
Questions
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I want to have one query call, that fills in a bunch of child queries.
For example
One query to return a bunch of articles (rough json)
{articles:[{id:1,title:'article1'},{id:2,title:'article2'}]}
But have it add each article separate into cache using the key of id.
so in this case, there would be 2 query cache entries.
I want to be able to invalidate each independent article, unless there is a differnt way to do what I am trying to.
All reactions