class StructuredSearch::Tree::Select
SELECT reserved word node
Attributes
search_terms[RW]
set_quantifier
-
Whether this search uses ALL or DISTINCT
search_terms
-
The search terms we're looking for
set_quantifier[RW]
set_quantifier
-
Whether this search uses ALL or DISTINCT
search_terms
-
The search terms we're looking for
Public Instance Methods
add_search_term(term)
click to toggle source
Adds a search term to the list of terms
# File lib/structured_search/tree/select.rb, line 20 def add_search_term(term) @search_terms.push term end
set_quantifier=(quantifier)
click to toggle source
Sets the set quantifier (either ALL or DISTINCT) for this statement
# File lib/structured_search/tree/select.rb, line 13 def set_quantifier=(quantifier) if [:ALL, :DISTINCT].include? quantifier @set_quantifier = quantifier end end