WindowFunctionInvocation constructor

WindowFunctionInvocation({
  1. required IdentifierToken function,
  2. required FunctionParameters parameters,
  3. OrderByBase? orderBy,
  4. Expression? filter,
  5. WindowDefinition? windowDefinition,
  6. String? windowName,
})

Implementation

WindowFunctionInvocation(
    {required super.function,
    required super.parameters,
    super.orderBy,
    super.filter,
    this.windowDefinition,
    this.windowName})
    // one of window definition or name must be null
    : assert((windowDefinition == null) || (windowName == null));