Module: QueryBuilder::CQL::Modifiers::Distinct

Included in:
Statements::Select
Defined in:
lib/query_builder/cql/modifiers/distinct.rb

Overview

Provides DISTINCT clauses for statements

Defined Under Namespace

Classes: Clause

Instance Method Summary collapse

Instance Method Details

#distinctQueryBuilder::Core::Statement

Adds DISTINCT clause to the statement

Returns:



15
16
17
# File 'lib/query_builder/cql/modifiers/distinct.rb', line 15

def distinct
  self << Clause.new
end