Skip to main content
Module

x/pgsql_ast_parser/index.ts>parseWithComments

Yet another simple Postgres SQL parser
Latest
function parseWithComments
import { parseWithComments } from "https://deno.land/x/pgsql_ast_parser@12.0.1/index.ts";

Parse an AST from SQL, and get the comments

Parameters

sql: string
optional
options: ParseOptions

Returns

{ ast: Statement[]; comments: PGComment[]; }