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 1244 def initialize(expr, type) 1245 @expr = expr 1246 @type = type 1247 freeze 1248 end
Set the expression and type for the cast