Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pgsql_ast_parser/syntax/ast.ts>ExprSubstring

Yet another simple Postgres SQL parser
Latest
interface ExprSubstring
implements PGNode
import { type ExprSubstring } from "https://deno.land/x/pgsql_ast_parser@12.0.1/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