Class | Sequel::SQL::WindowFunction
In: | lib/sequel/sql.rb
Parent: | GenericExpression

A WindowFunction is a grouping of a function with a window over which it operates.

### Methods

new

### Attributes

function | [R] | The function to use, should be an SQL::Function.
window | [R] | The window to use, should be an SQL::Window.

### Public Class methods

new(function, window)

Set the function and window.

[Source]

         # File lib/sequel/sql.rb, line 950
    950:       def initialize(function, window)
    951:         @function, @window = function, window
    952:       end

[Validate]