Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pgsql_ast_parser/syntax/ast.ts>ExprSubstring

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

Handle special syntax: substring('val' from 2 for 3)

Properties

type: "substring"
value: Expr
optional
from: Expr | nil
optional
for: Expr | nil