struct

Interro::QueryBuilder::CompoundQuery(T)

Inherits Enumerable / Struct / Value / Object

Constructors

new(lhs : QueryBuilder(T), combinator : String, rhs : QueryBuilder(T), connection : DB::Database | DB::Connection)
Source

Instance methods

each

Must yield this collection's elements to the block.

Source
first(count : Int)

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.

Source
to_sql
Source