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.



2036
2037
2038
# File 'lib/sequel/sql.rb', line 2036

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