https://github.com/ValkDB/postgresparser
GitHub - ValkDB/postgresparser: ANTLR-based PostgreSQL query parser for Go. Extracts tables,...
ANTLR-based PostgreSQL query parser for Go. Extracts tables, columns, joins, CTEs, parameters, DDL actions, and full column-usage metadata from SQL into a...