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

x/pgsql_ast_parser/syntax/ast.ts>ExprCall

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

Properties

type: "call"
function: QName

Function name

args: Expr[]

Arguments list

optional
distinct: "all" | "distinct"

[AGGREGATION FUNCTIONS] Distinct clause specified ?

optional
orderBy: OrderByStatement[] | nil

[AGGREGATION FUNCTIONS] Inner order by clause

optional
filter: Expr | nil

[AGGREGATION FUNCTIONS] Filter clause

optional
withinGroup: OrderByStatement | nil

[AGGREGATION FUNCTIONS] WITHIN GROUP clause

optional
over: CallOver | nil

[AGGREGATION FUNCTIONS] OVER clause