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

The ReQuery operator instructs the ViewModel to re-execute its search logic. It differs from a standard "Search" because it specifically targets the Seeker's result set (vSeekerResult) and updates it based on the current state of variables and search expressions.

It is the primary tool for creating a "Refresh" button in a search interface or ensuring that the results are updated after data has been modified in a separate part of the application.

Syntax

selfVM.ReQuery

Behavior in Seekers

  • Targeting: It populates the vSeekerResult collection variable in the ViewModel.
  • Consistency: Unlike the "Round-robin" behavior of the standard Search button (which might move to the next search batch if variables haven't changed), ReQuery strictly re-runs the current active search logic.