Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@11.2.0/parser.ts";

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

Parameters

sql: string