Skip to main content

Module binder

Module binder 

Source
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 x if x wasn’t matched)
  • Does that property access make sense? (Accessing .age on 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.
BindingContext
Context containing all bound variables and their information.
VariableInfo
Information about a bound variable.