The offset value must be greater than or equal to zero – CodeIgniter 4 Pagination library
The goal is to use CodeIgniter 4’s Pagination library to display large datasets without encountering the validation error "The offset value must be greater than or equal to zero." The library computes the offset as ($page - 1) * $perPage and passes it directly to the Query Builder’s limit method, which throws the error when the offset is negative. There is n