Class: SQLPP::AST::Select

Inherits:
Struct
  • Object
show all
Defined in:
lib/sqlpp/ast.rb

Instance Attribute Summary collapse

Instance Attribute Details

#distinctObject

Returns the value of attribute distinct

Returns:

  • (Object)

    the current value of distinct



3
4
5
# File 'lib/sqlpp/ast.rb', line 3

def distinct
  @distinct
end

#fromsObject

Returns the value of attribute froms

Returns:

  • (Object)

    the current value of froms



3
4
5
# File 'lib/sqlpp/ast.rb', line 3

def froms
  @froms
end

#groupsObject

Returns the value of attribute groups

Returns:

  • (Object)

    the current value of groups



3
4
5
# File 'lib/sqlpp/ast.rb', line 3

def groups
  @groups
end

#limitObject

Returns the value of attribute limit

Returns:

  • (Object)

    the current value of limit



3
4
5
# File 'lib/sqlpp/ast.rb', line 3

def limit
  @limit
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



3
4
5
# File 'lib/sqlpp/ast.rb', line 3

def offset
  @offset
end

#ordersObject

Returns the value of attribute orders

Returns:

  • (Object)

    the current value of orders



3
4
5
# File 'lib/sqlpp/ast.rb', line 3

def orders
  @orders
end

#projectionsObject

Returns the value of attribute projections

Returns:

  • (Object)

    the current value of projections



3
4
5
# File 'lib/sqlpp/ast.rb', line 3

def projections
  @projections
end

#wheresObject

Returns the value of attribute wheres

Returns:

  • (Object)

    the current value of wheres



3
4
5
# File 'lib/sqlpp/ast.rb', line 3

def wheres
  @wheres
end