Class: Arel::Nil

Inherits:
Object
  • Object
show all
Includes:
Relation, Singleton
Defined in:
lib/arel/algebra/relations/utilities/nil.rb,
lib/arel/engines/sql/relations/utilities/nil.rb

Instance Attribute Summary

Attributes included from Relation

#count

Instance Method Summary collapse

Methods included from Relation

#bind, #call, #christener, #compiler, #exclusion_predicate_sql, #externalizable?, #externalize, #inclusion_predicate_sql, #join?, #primary_key, #session, #to_sql

Methods included from Relation::DefaultOperations

#attributes, #groupings, #havings, #inserts, #joins, #locked, #orders, #projections, #skipped, #sources, #taken, #wheres

Methods included from Relation::AttributeAccessable

#[], #find_attribute_matching_attribute, #find_attribute_matching_name, #position_of

Methods included from Relation::Operable

#alias, #join, #lock, #outer_join

Methods included from Relation::Operable::Writable

#delete, #insert, #update

Methods included from Relation::Enumerable

#each, #first

Instance Method Details

#nameObject



4
# File 'lib/arel/engines/sql/relations/utilities/nil.rb', line 4

def name; '' end

#table_sql(formatter = nil) ⇒ Object



3
# File 'lib/arel/engines/sql/relations/utilities/nil.rb', line 3

def table_sql(formatter = nil); '' end