module Arel::Predications
Public Instance Methods
coalesce(value)
click to toggle source
# File lib/arel_extension/predications.rb, line 3 def coalesce(value) Arel::Nodes::Coalesce.new([self], value, Nodes::SqlLiteral.new('coalesce_id')) end