Skip to main content
Module

x/pgsql_ast_parser/index.ts>parseFirst

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

Parse the first SQL statement in the given text (discards the rest), and return its AST

Parameters

sql: string