Skip to content

feat: support EXPLAIN for DML and simplify ExplainStatement#2396

Merged
manticore-projects merged 1 commit intoJSQLParser:masterfrom
dengliming:fix_explain
Mar 4, 2026
Merged

feat: support EXPLAIN for DML and simplify ExplainStatement#2396
manticore-projects merged 1 commit intoJSQLParser:masterfrom
dengliming:fix_explain

Conversation

@dengliming
Copy link
Contributor

Fixes #2373

  • parse EXPLAIN with SELECT/INSERT/UPDATE/DELETE/MERGE (including WITH)
  • unify ExplainStatement target to Statement (remove Select-only API)
  • add regression tests for EXPLAIN DELETE/UPDATE/INSERT

- parse EXPLAIN with SELECT/INSERT/UPDATE/DELETE/MERGE (including WITH)
- unify ExplainStatement target to Statement (remove Select-only API)
- add regression tests for EXPLAIN DELETE/UPDATE/INSERT
@manticore-projects
Copy link
Contributor

Excellent work! Thank you a lot for implementing this!

@manticore-projects manticore-projects merged commit b19d556 into JSQLParser:master Mar 4, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] JSQLParser Version : 5.3 RDBMS : PostgreSQL Parse error for EXPLAIN DELETE/UPDATE/INSERT

2 participants