[xwiki-devs] [proposal] add to XWikiStoreInterface List<T> getEntities(T entityType, List<EntityReference> references)
18 Aug
2010
18 Aug
'10
8:54 a.m.
The proposal is straightforward, add a method which allows for getting multiple entities at once. List<T> getEntities(T entityType, List<EntityReference> references) The reason for wanting to have a bulk getter is because optimizations can be made at the database level and there are a number of places where multiple documents are loaded at once eg: panels. For the moment I intend to use an if statement to determine what it's getting and load each of the entities using the current loader. As usage increases I will begin looking at ways to bulk load. WDYT? Caleb
5853
Age (days ago)
5853
Last active (days ago)
0 comments
1 participants
participants (1)
-
Caleb James DeLisle