validate()
Validate query syntax and semantics without executing SQL.
Usage
validate(query)Parameters
query: str- The ggsql query to validate.
Returns
Validated- Validation result with query inspection methods.
Raises
ValueError- If validation fails unexpectedly (not for syntax errors, which are captured).