This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
Version 3.3.5
Added
- Option to specify the paginator type, eg:
try User
.query(on: req)
.paginate(for: req, type: OffsetPaginator.self)
...
This is useful in cases where the type cannot be inferred and you would have had to split up a chain to be able to add type information. In case the type can be inferred, you can omit this parameter.
This parameter has been added to all paginate
functions that return a generic Paginator
.