class Sequel::LiteralString

  1. lib/sequel/sql.rb
Parent: Sequel

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.

Methods

Public Instance

  1. lit
  2. to_sequel_blob

Public Instance methods

lit (*args)
[show source]
# File lib/sequel/sql.rb, line 1580
def lit(*args)
  args.empty? ? self : SQL::PlaceholderLiteralString.new(self, args)
end
to_sequel_blob ()
[show source]
# File lib/sequel/sql.rb, line 1584
def to_sequel_blob
  SQL::Blob.new(self)
end