module Sequel::SQL::StringConcatenationMethods
This module includes the +
method. It is included in StringExpression
and can be included elsewhere to allow the use of the + operator to represent concatenation of SQL
Strings:
Public Instance Methods
Source
# File lib/sequel/sql.rb 978 def +(ce) 979 StringExpression.new(:'||', self, ce) 980 end
Return a StringExpression
representing the concatenation of the receiver with the given argument.
Sequel[:x].sql_string + :y # => "x" || "y"