diff --git a/manual/index.html b/manual/index.html index 3d51b26..89309ea 100644 --- a/manual/index.html +++ b/manual/index.html @@ -5867,8 +5867,8 @@

Pageable

$sortable->add($sort3); $pageable = new PicoPageable(new PicoLimit(0, 100), $sortable); -// page limit = 100 -// page offset = 0 +// offset = 0 +/// limit = 100 // ORDER BY user_name ASC, email DESC, phone ASC

or

$sortable = PicoSortable::getInstance()
@@ -5884,8 +5884,8 @@ 

Pageable

; $pageable = new PicoPageable(new PicoLimit(0, 100), $sortable); -// page limit = 100 -// page offset = 0 +// offset = 0 +/// limit = 100 // ORDER BY user_name ASC, email DESC, phone ASC
  1. Construtor with page as PicoPageable and sortable as PicoSortable
  2. diff --git a/tutorial.md b/tutorial.md index f91c144..b7ff747 100644 --- a/tutorial.md +++ b/tutorial.md @@ -6486,8 +6486,8 @@ $sortable->add($sort2); $sortable->add($sort3); $pageable = new PicoPageable(new PicoLimit(0, 100), $sortable); -// page limit = 100 -// page offset = 0 +// offset = 0 +/// limit = 100 // ORDER BY user_name ASC, email DESC, phone ASC ``` @@ -6511,8 +6511,8 @@ $sortable = PicoSortable::getInstance() ; $pageable = new PicoPageable(new PicoLimit(0, 100), $sortable); -// page limit = 100 -// page offset = 0 +// offset = 0 +/// limit = 100 // ORDER BY user_name ASC, email DESC, phone ASC ```