class Sequel::SQL::Function

Represents an SQL function call.

Attributes

args[R]

The array of arguments to pass to the function (may be blank)

f[R]

The SQL function to call

Public Class Methods

new(f, *args) click to toggle source

Set the functions and args to the given arguments

# File lib/sequel/sql.rb, line 1209
def initialize(f, *args)
  @f, @args = f, args
end

Private Instance Methods

inspect_args() click to toggle source

Function's initializer uses a splat for the function arguments.

# File lib/sequel/extensions/eval_inspect.rb, line 131
def inspect_args
  [:f, "*args"]
end