class Pager::JenniferCollection(T)

Defined in:

pager/collections/jennifer.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Pager::Collection

any? : Bool
any?(&) : Bool
any?
, collection collection, current_page : Int32 current_page, each(&) each, empty? : Bool empty?, first? : Bool first?, last? : Bool last?, map(&) map, pages : Int32 pages, per_page : Int32 per_page, size size, to_a to_a, total_size : Int32 total_size

Constructor methods inherited from class Pager::Collection

new(current_page : Int32, per_page : Int32, total_size : Int32) new

Class methods inherited from class Pager::Collection

empty(per_page = Pager.per_page) empty

Constructor Detail

def self.new(query : Jennifer::QueryBuilder::ModelQuery(T), current_page, per_page) #

[View source]

Class Method Detail

def self.empty(per_page = Pager.per_page) #

[View source]

Instance Method Detail

def collection : Array(T) #

[View source]