Implement tilted relationships to help improve performance

This commit is contained in:
April Herron
2021-01-27 09:41:38 -05:00
parent 12ffc78452
commit 06c39ad750
18 changed files with 159 additions and 50 deletions

View File

@@ -44,7 +44,7 @@ public class EntityServiceImpl implements EntityService {
public Entity findByItemId(Context context, UUID itemId, Integer limit, Integer offset) throws SQLException {
Item item = itemService.find(context, itemId);
List<Relationship> relationshipList = relationshipService.findByItem(context, item, limit, offset);
List<Relationship> relationshipList = relationshipService.findByItem(context, item, limit, offset, true);
return new Entity(item, relationshipList);
}