Skip to main content
Module

x/pgsql_ast_parser/mod.ts>CommentStatement

Yet another simple Postgres SQL parser
Go to Latest
interface CommentStatement
implements PGNode
import { type CommentStatement } from "https://deno.land/x/pgsql_ast_parser@10.5.2/mod.ts";

Properties

type: "comment"
comment: string
on: { type:
| "table"
| "database"
| "index"
| "materialized view"
| "trigger"
| "type"
| "view"
; name: QName; } | { type: "column"; column: QColumn; }

This is not exhaustive compared to https://www.postgresql.org/docs/13/sql-comment.html But this is what's supported. File an issue if you want more.