class Sequel::SQL::Cast
Represents a cast of an SQL
expression to a specific type.
Attributes
expr[R]
The expression to cast
type[R]
The type to which to cast the expression
Public Class Methods
new(expr, type)
click to toggle source
Set the expression and type for the cast
# File lib/sequel/sql.rb 1227 def initialize(expr, type) 1228 @expr = expr 1229 @type = type 1230 freeze 1231 end