🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
OCLOperators ExecuteFetchHints
Created by Stephanie on 2025-01-08 · Last edited by Vale.buyondo on 2026-01-31.

While the Query Planner is automatic, it sometimes struggles with For Loops or complex Server-side ViewModels where it cannot "see" the data requirements deep inside a loop before it starts.

ExecuteFetchHints allows the developer to give the system a "heads-up." It executes expressions found in any ViewModel nesting that starts with the name "fetchhints". This pulls all necessary data into memory upfront so the loop can run at high speed

Sysntax

selfVM.ExecuteFetchHints(objectlist)