Class | Sequel::SQL::IrregularFunction |
In: |
lib/sequel_core/sql.rb
|
Parent: | Function |
IrregularFunction is used for the SQL EXTRACT and CAST functions, which don‘t use regular function calling syntax. The IrregularFunction replaces the commas the regular function uses with a custom join string.
This shouldn‘t be used directly, see CastMethods#cast and ComplexExpressionMethods#extract.
arg1 | [R] | The arguments to pass to the function (may be blank) |
arg2 | [R] | The arguments to pass to the function (may be blank) |
f | [R] | The SQL function to call |
joiner | [R] | The literal string to use in place of a comma to join arguments |