Method: Sequel::LiteralString#lit

Defined in:
lib/sequel/sql.rb

#lit(*args) ⇒ Object

Return self if no args are given, otherwise return a SQL::PlaceholderLiteralString with the current string and the given args.



2039
2040
2041
# File 'lib/sequel/sql.rb', line 2039

def lit(*args)
  args.empty? ? self : SQL::PlaceholderLiteralString.new(self, args)
end