class Sequel::SQL::WindowFunction

REMOVE411

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) click to toggle source
# File lib/sequel/sql.rb, line 1838
def self.new(function, window)
  Deprecation.deprecate("Sequel::SQL::WindowFunction", "Please use Sequel::SQL::Function.new(name, *args).over(...) to create an SQL window function")
  function.over(window)
end
new(function, window) click to toggle source

Set the function and window.

# File lib/sequel/sql.rb, line 1844
def initialize(function, window)
  Deprecation.deprecate("Sequel::SQL::WindowFunction", "Please use Sequel::SQL::Function.new(name, *args).over(...) to create an SQL window function")
  @function, @window = function, window
end