FruitJokes::ComedianRepository
Constructors
new(db : DB::Database)
SourceInstance methods
Get the most recent comedians with their joke counts
Get a paginated list of comedians
list_by_specialty(specialty : String, page : Int32 = 1, per_page : Int32 = 10) : Tuple(Array(ComedianRow), PaginationData)
Get a paginated list of comedians filtered by specialty
Get the total count of comedians filtered by specialty