struct Interro::QueryBuilder::CompoundQuery(T)

Included Modules

Defined in:

query_builder.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(lhs : QueryBuilder(T), combinator : String, rhs : QueryBuilder(T), connection : DB::Database | DB::Connection) #

[View source]

Instance Method Detail

def each(& : T -> ) #
Description copied from module Enumerable(T)

Must yield this collection's elements to the block.


[View source]
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.


[View source]
def to_sql #

[View source]