| Module | Sequel::SQL::StringConcatenationMethods |
| In: |
lib/sequel/sql.rb
|
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:
Return a StringExpression representing the concatenation of the receiver with the given argument.
:x.sql_string + :y => # "x" || "y"
# File lib/sequel/sql.rb, line 485
485: def +(ce)
486: StringExpression.new('||''||', self, ce)
487: end