struct Interro::QueryBuilder::CompoundQuery(T)
- Interro::QueryBuilder::CompoundQuery(T)
- Struct
- Value
- Object
Included Modules
- Enumerable(T)
Defined in:
query_builder.crConstructors
Instance Method Summary
-
#each(& : T -> )
Must yield this collection's elements to the block.
-
#first(count : Int)
Returns an
Array
with the first count elements in the collection. - #to_sql
Constructor Detail
def self.new(lhs : QueryBuilder(T), combinator : String, rhs : QueryBuilder(T), connection : DB::Database | DB::Connection)
#
Instance Method Detail
def each(& : T -> )
#
Description copied from module Enumerable(T)
Must yield this collection's elements to the block.
def first(count : Int)
#
Description copied from module Enumerable(T)
Returns an Array
with the first count elements in the collection.
If count is bigger than the number of elements in the collection, returns as many as possible. This include the case of calling it over an empty collection, in which case it returns an empty array.