You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the parent entity has limit, assume a "large" result and switch over to "relatedViaQueryWithParentIds" strategy for fetching children. Suppose we can utilize a threshhold here (e.g. strategy = limit > 0 && limit < 5000 ? relatedViaQueryWithParentIds : relatedViaQueryWithParentExp) .
The text was updated successfully, but these errors were encountered:
andrus
changed the title
Optimize Cayenne relationship resolvers
Use "relatedViaQueryWithParentIds" strategy when limit is involved
Apr 3, 2023
andrus
changed the title
Use "relatedViaQueryWithParentIds" strategy when limit is involved
Optimization: "relatedViaQueryWithParentIds" strategy when limit is involved
Apr 3, 2023
An optimization of Cayenne RelatedDataResolver:
If the parent entity has
limit
, assume a "large" result and switch over to "relatedViaQueryWithParentIds" strategy for fetching children. Suppose we can utilize a threshhold here (e.g.strategy = limit > 0 && limit < 5000 ? relatedViaQueryWithParentIds : relatedViaQueryWithParentExp
) .The text was updated successfully, but these errors were encountered: