Class: Sequel::LiteralString

Inherits:
String show all
Includes:
SQL::ComplexExpressionMethods
Defined in:
lib/sequel_core/sql.rb

Overview

LiteralString is used to represent literal SQL expressions. An LiteralString is copied verbatim into an SQL statement. Instances of LiteralString can be created by calling String#lit. LiteralStrings can use all of the SQL::ColumnMethods and the SQL::ComplexExpressionMethods.

Constant Summary

Constants included from SQL::ColumnMethods

SQL::ColumnMethods::AS, SQL::ColumnMethods::ASC, SQL::ColumnMethods::DESC

Method Summary

Methods included from SQL::ComplexExpressionMethods

#sql_boolean, #sql_number, #sql_string

Methods included from SQL::StringMethods

#ilike, #like

Methods included from SQL::BooleanMethods

#~

Methods inherited from String

#blank?, #lit, #split_sql, #to_date, #to_datetime, #to_sequel_time, #to_sql, #to_time

Methods included from SQL::ColumnMethods

#as, #asc, #cast_as, #desc