Concept Flow - Query depth and complexity
Start Query
Parse Query
Calculate Depth
Calculate Complexity
Compare with Limits
Execute
Return Data
The query is parsed, its depth and complexity are calculated, then checked against limits to decide if it runs or is rejected.