Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelarte authored Dec 17, 2024
1 parent cd18996 commit e22827f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ DB.Clauses(pageRequest).First(&products)
```

The plugin will calculate the total amount of elements so then the fields `total amounts` and `total pages` can be used too.
The pagination starts with the index 0.
The pagination starts at index 0. So if the total pages is 6, then the pagination index goes from 0 to 5.

## 🎓 Examples

Expand Down

0 comments on commit e22827f

Please sign in to comment.