Class: GitlabZOQL::Parser::Statement::DirectSelect

Inherits:
Node
  • Object
show all
Defined in:
lib/gitlab-zoql/parser/statement.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#accept, #to_sql

Constructor Details

#initialize(query_expression) ⇒ DirectSelect

Returns a new instance of DirectSelect.



52
53
54
# File 'lib/gitlab-zoql/parser/statement.rb', line 52

def initialize(query_expression)
  @query_expression = query_expression
end

Instance Attribute Details

#query_expressionObject (readonly)

Returns the value of attribute query_expression.



56
57
58
# File 'lib/gitlab-zoql/parser/statement.rb', line 56

def query_expression
  @query_expression
end