Skip to main content
Module

x/pgsql_ast_parser/parser.ts>parseFirst

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

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

Parameters

sql: string