Class: Sequel::LiteralString

Inherits:
String show all
Includes:
SQL::BooleanMethods, SQL::ComplexExpressionMethods, SQL::InequalityMethods, SQL::NumericMethods, SQL::OrderMethods, SQL::StringMethods
Defined in:
lib/sequel/lib/sequel/sql.rb,
lib/sequel/lib/sequel/sql.rb

Overview

LiteralString is used to represent literal SQL expressions. A LiteralString is copied verbatim into an SQL statement. Instances of LiteralString can be created by calling String#lit.

Method Summary

Methods included from SQL::StringMethods

#ilike, #like

Methods included from SQL::BooleanMethods

#~

Methods included from SQL::ComplexExpressionMethods

#extract, #sql_boolean, #sql_number, #sql_string

Methods included from SQL::OrderMethods

#asc, #desc

Methods inherited from String

#*, #blank?, #camelize, #classify, #constantize, #dasherize, #demodulize, #foreign_key, #humanize, inflections, #is_shoes_color?, #lit, #multiply, #pluralize, #singularize, #sql_expr, #tableize, #titleize, #to_date, #to_datetime, #to_sequel_blob, #to_sequel_time, #to_time, #underscore

Methods included from SQL::CastMethods

#cast, #cast_numeric, #cast_string

Methods included from SQL::AliasMethods

#as