Interro::QueryBuilder::CompoundQuery(T)
Inherits Enumerable / Struct / Value / Object
Constructors
new(lhs : QueryBuilder(T), combinator : String, rhs : QueryBuilder(T), connection : DB::Database | DB::Connection)
SourceInstance methods
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.
to_sql
Source