Class: Bmg::Sql::Processor::Distinct
- Inherits:
-
Bmg::Sql::Processor
- Object
- Sexpr::Rewriter
- Bmg::Sql::Processor
- Bmg::Sql::Processor::Distinct
- Defined in:
- lib/bmg/sql/processor/distinct.rb
Constant Summary
Constants inherited from Bmg::Sql::Processor
Instance Attribute Summary
Attributes inherited from Bmg::Sql::Processor
Instance Method Summary collapse
- #on_set_quantified(sexpr) ⇒ Object (also: #on_union, #on_except, #on_intersect, #on_select_exp)
Methods inherited from Bmg::Sql::Processor
#initialize, #on_set_operator, #on_with_exp
Constructor Details
This class inherits a constructor from Bmg::Sql::Processor
Instance Method Details
#on_set_quantified(sexpr) ⇒ Object Also known as: on_union, on_except, on_intersect, on_select_exp
6 7 8 |
# File 'lib/bmg/sql/processor/distinct.rb', line 6 def on_set_quantified(sexpr) sexpr.with_update(1, builder.distinct) end |