Expand description
Semantic validation - catching errors before execution.
The binder walks the logical plan and validates that everything makes sense:
- Is that variable actually defined? (You can’t use
RETURN xifxwasn’t matched) - Does that property access make sense? (Accessing
.ageon an integer fails) - Are types compatible? (Can’t compare a string to an integer)
Better to catch these errors early than waste time executing a broken query.
Structs§
- Binder
- Semantic binder for query plans.
- Binding
Context - Context containing all bound variables and their information.
- Variable
Info - Information about a bound variable.