LogoRobo.js
Framework

executeCascadeOperations()

Function: executeCascadeOperations()

function executeCascadeOperations(
   ops, 
   parentId, 
ctx): Promise<void>

Execute collected cascade operations. Operations are executed in the correct order:

  1. Junction table deletions first
  2. setNull operations
  3. Cascade deletes (deepest first)

Parameters

ParameterTypeDescription
opsCascadeOp[]Collected cascade operations
parentIdstringParent record ID
ctxCascadeContextCascade context

Returns

Promise<void>

On this page