Method: Sequel::SQL::Blob#lit
- Defined in:
- lib/sequel/sql.rb
permalink #lit(*args) ⇒ Object
Return a LiteralString with the same content if no args are given, otherwise return a SQL::PlaceholderLiteralString with the current string and the given args.
1035 1036 1037 |
# File 'lib/sequel/sql.rb', line 1035 def lit(*args) args.empty? ? LiteralString.new(self) : SQL::PlaceholderLiteralString.new(self, args) end |