# `Lotus.AI.Actions.ValidateSQL`
[🔗](https://github.com/typhoonworks/lotus/blob/v0.16.6/lib/lotus/ai/actions/validate_sql.ex#L1)

Validates SQL syntax against the database without executing.

Uses EXPLAIN to parse the query server-side, catching syntax errors
and missing table/column references before the query is run.

---

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