class Sequel::SQL::Cast
Represents a cast of an SQL
expression to a specific type.
Attributes
The expression to cast
The type to which to cast the expression
Public Class Methods
Source
# File lib/sequel/sql.rb 1250 def initialize(expr, type) 1251 @expr = expr 1252 @type = type 1253 freeze 1254 end
Set the expression and type for the cast