import { SQL_SYMBOLE } from '../sql'; import { XExpression, Expression } from './expression'; import { Func, BuiltIn, XObjectName, Star } from '../object'; import { BaseScalar, Scalar } from '../scalar'; import type { Sort } from '../statement'; /** * 函数调用表达式 */ export declare class ScalarFuncInvoke extends Expression { $func: Func; $args: (Expression | BuiltIn | Star)[]; readonly $type: SQL_SYMBOLE.SCALAR_FUNCTION_INVOKE; $orders?: Sort[]; $partitions?: Expression[]; static isScalarFuncInvoke(object: any): object is ScalarFuncInvoke; constructor(func: XObjectName | Func, args: (XExpression | BuiltIn | Star)[]); over(action?: (builder: Pick) => void): this; /** * 开窗函数调用 */ orderBy(...sorts: Sort[]): this; orderBy(sorts: Sort[]): this; /** * 分组 */ partitionBy(exprs: XExpression[]): this; partitionBy(...exprs: XExpression[]): this; }