yawp icon indicating copy to clipboard operation
yawp copied to clipboard

Transformer -> Memcache

Open danilodeLuca opened this issue 8 years ago • 0 comments

I have one list with 50 objects. These objects have references(ids) to other entities. One transformer will do fetch on this references to bring the information, but in differents objects im doing the same fetch X times . Example: Students x Course. I have a list of 60 students, 20 are members of course "A" and 40 of course "B". I want to show the name of the students and course name. Queries: on Course "A" = 20, B = "40"; Students = 60. Its not necessary make all these queries on Course, would be nice to make only 2 queries and keep the information on "cache".

danilodeLuca avatar Mar 24 '16 20:03 danilodeLuca