🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
OCLOperators CascadeFetch
This page was created by Hans.karlsen on 2025-11-27. Last edited by Restore-user on 2026-10-21.

CascadeFetch follows the Composite aggregation marked associations and makes sure that things are loaded.

If your viewmodel is to delete an object that has a lot of composite aggregations, it can be smart to first do CascadeFetch as an ocl column, as this will be managed by the Queryplanner and fetched in as few roundtrips as possible, instead of cold-running delete in an action that will lazy-load things, often one by one.

CascadeFetch returns an integer for the number of objects included in the aggregate.