{"library":"plpgsql-deparser","type":"library","category":null,"description":"Converts parsed PL/pgSQL function ASTs back into SQL source code. Part of the pgsql-parser ecosystem. v0.7.7 (stable, weekly releases). Key differentiator: round-tripping from AST to SQL with high fidelity, supporting PostgreSQL's PL/pgSQL dialect including complex control structures. Depends on libpg_query for parsing; you must parse first with pgsql-parser.","language":"javascript","status":"active","version":"0.7.7","tags":["javascript","sql","postgres","postgresql","pg","plpgsql","query","ast","deparser","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install plpgsql-deparser","imports":["import { deparse } from 'plpgsql-deparser'","import { deparse } from 'plpgsql-deparser'","import { PlPgSqlStatements } from 'plpgsql-deparser'"]},{"cmd":"yarn add plpgsql-deparser","imports":[]},{"cmd":"pnpm add plpgsql-deparser","imports":[]}],"homepage":"https://github.com/constructive-io/pgsql-parser","github":"https://github.com/constructive-io/pgsql-parser","docs":null,"changelog":null,"pypi":null,"npm":"plpgsql-deparser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}