Class: Arel::SqlLiteral

Inherits:
String
  • Object
show all
Includes:
Attribute::Expressions
Defined in:
lib/arel/engines/sql/primitives.rb

Instance Method Summary collapse

Methods included from Attribute::Expressions

#average, #count, #maximum, #minimum, #sum

Instance Method Details

#relationObject



3
4
5
# File 'lib/arel/engines/sql/primitives.rb', line 3

def relation
  nil
end

#to_sql(formatter = nil) ⇒ Object



7
8
9
# File 'lib/arel/engines/sql/primitives.rb', line 7

def to_sql(formatter = nil)
  self
end