Add ability to paginate.

This commit is contained in:
James Cole
2024-08-03 07:28:56 +02:00
parent ff80cedd6b
commit 9da10459d6
6 changed files with 64 additions and 39 deletions

View File

@@ -46,7 +46,7 @@ class AccountController extends Controller
use Actions\Destroy;
use Actions\DetachRelationship;
// use Actions\FetchMany;
use Actions\FetchMany;
// use Actions\FetchOne;
use Actions\FetchRelated;
use Actions\FetchRelationship;
@@ -66,8 +66,7 @@ class AccountController extends Controller
->repository()
->queryAll()
->withRequest($request)
->get()
;
->get();
// do something custom...