class
CQL::CompoundQuery
- CQL::CompoundQuery
- Reference
- Object
Overview
Two statements combined with UNION / INTERSECT / EXCEPT, executed like any query. ORDER BY / LIMIT set on an operand stay on that operand; ordering or limiting the combined result is not supported yet.
Included Modules
Defined in:
compound_query.crConstructors
Instance Method Summary
- #build : Expression::SetOperation
- #executor : Executor
- #left : Executable
- #operator : Expression::SetOperator
- #right : Executable
- #schema : Schema
Instance methods inherited from module CQL::SetOperations
except(other : Executable) : CompoundQuery
except,
intersect(other : Executable) : CompoundQuery
intersect,
union(other : Executable) : CompoundQuery
union,
union_all(other : Executable) : CompoundQuery
union_all
Instance methods inherited from module CQL::Executable
all(as kind)
all,
all!(as kind)
all!,
build : Expression::Statement
build,
each(as kind : U.class, & : U -> ) : Nil forall U
each,
explain(analyze : Bool = false) : String
explain,
get(as kind)
get,
get!(as kind)
get!,
returns_rows?(count : Int32) : Bool
returns_rows?,
to_sql(gen : Expression::Generator | Nil = nil)to_sql(for adapter : Adapter) to_sql
Instance methods inherited from module CQL::Pinnable
executor : Executor
executor,
schema : Schema
schema,
using(connection : DB::Connection) : selfusing(executor : Executor) : self using