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

+(ce) click to toggle source

Return a StringExpression representing the concatenation of the receiver with the given argument.

Sequel[:x].sql_string + :y # => "x" || "y"
    # File lib/sequel/sql.rb
975 def +(ce)
976   StringExpression.new(:'||', self, ce)
977 end