Class/Module Index [+]

Quicksearch

Arel::Nodes::SelectCore

Attributes

groups[RW]
having[RW]
projections[RW]
set_quantifier[RW]
source[RW]
top[RW]
wheres[RW]

Public Class Methods

new() click to toggle source
# File lib/arel/nodes/select_core.rb, line 7
def initialize
  @source         = JoinSource.new nil
  @top            = nil

  # http://savage.net.au/SQL/sql-92.bnf.html#set%20quantifier
  @set_quantifier = nil
  @projections    = []
  @wheres         = []
  @groups         = []
  @having         = nil
end

Public Instance Methods

from() click to toggle source
# File lib/arel/nodes/select_core.rb, line 19
def from
  @source.left
end
Also aliased as: froms
from=(value) click to toggle source
# File lib/arel/nodes/select_core.rb, line 23
def from= value
  @source.left = value
end
Also aliased as: froms=
froms() click to toggle source
Alias for: from
froms=(value) click to toggle source
Alias for: from=
initialize_copy(other) click to toggle source
# File lib/arel/nodes/select_core.rb, line 30
def initialize_copy other
  super
  @source      = @source.clone if @source
  @projections = @projections.clone
  @wheres      = @wheres.clone
  @groups      = @groups.clone
  @having      = @having.clone if @having
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.