# `Lotus.AI.Actions.ValidateStatement`
[🔗](https://github.com/elixir-lotus/lotus/blob/v1.3.0/lib/lotus/ai/actions/validate_statement.ex#L1)

Validates statement syntax against the data source without executing it.

Runs the checks execution runs first, for the actor (sanitization, the
source's visibility, preflight against the visibility rules, and how the
statement uses protected columns), then the adapter's
`validate_statement/3`, which parses the statement server-side and
catches syntax errors and missing table or column references.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
