Skip to main content
Module

x/pgsql_ast_parser/mod.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@10.5.2/mod.ts";

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

Properties

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