Parent

Included Modules

Files

Class Index [+]

Quicksearch

Arel::Compound

Attributes

relation[R]
engine[R]

Public Class Methods

new(relation) click to toggle source
    # File lib/arel/algebra/relations/utilities/compound.rb, line 7
 7:     def initialize relation
 8:       @relation    = relation
 9:       @engine      = relation.engine
10:       @attributes  = nil
11:       @wheres      = nil
12:       @groupings   = nil
13:       @orders      = nil
14:       @havings     = nil
15:       @projections = nil
16:     end

Public Instance Methods

attributes() click to toggle source
    # File lib/arel/algebra/relations/utilities/compound.rb, line 47
47:     def attributes
48:       @attributes ||= relation.attributes.bind(self)
49:     end
column_for(attr;) click to toggle source
    # File lib/arel/algebra/relations/utilities/compound.rb, line 24
24:     def column_for attr; @relation.column_for attr end
externalizable?() click to toggle source
    # File lib/arel/algebra/relations/utilities/compound.rb, line 25
25:     def externalizable?; @relation.externalizable? end
join?() click to toggle source
    # File lib/arel/algebra/relations/utilities/compound.rb, line 18
18:     def join?;           @relation.join?           end
joins(env;) click to toggle source
    # File lib/arel/algebra/relations/utilities/compound.rb, line 23
23:     def joins env;       @relation.joins env       end
name() click to toggle source
    # File lib/arel/algebra/relations/utilities/compound.rb, line 19
19:     def name;            @relation.name            end
skipped() click to toggle source
    # File lib/arel/algebra/relations/utilities/compound.rb, line 21
21:     def skipped;         @relation.skipped         end
sources() click to toggle source
    # File lib/arel/algebra/relations/utilities/compound.rb, line 27
27:     def sources
28:       @relation.sources
29:     end
table() click to toggle source
    # File lib/arel/algebra/relations/utilities/compound.rb, line 31
31:     def table
32:       @relation.table
33:     end
table_alias() click to toggle source
    # File lib/arel/algebra/relations/utilities/compound.rb, line 20
20:     def table_alias;     @relation.table_alias     end
table_sql(formatter = Sql::TableReference.new(self)) click to toggle source
    # File lib/arel/algebra/relations/utilities/compound.rb, line 35
35:     def table_sql(formatter = Sql::TableReference.new(self))
36:       @relation.table_sql formatter
37:     end
taken() click to toggle source
    # File lib/arel/algebra/relations/utilities/compound.rb, line 22
22:     def taken;           @relation.taken           end
unoperated_rows() click to toggle source
    # File lib/arel/algebra/relations/utilities/compound.rb, line 51
51:     def unoperated_rows
52:       relation.call.collect { |row| row.bind(self) }
53:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.