Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
agungsugiarto committed Aug 19, 2020
1 parent 2b270f4 commit 1b09fd9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ $news = $this->news->findWhere([
```

- Paginate the given query:
> Note: paginate avaliable methods see [docs](https://codeigniter4.github.io/userguide/libraries/pagination.html)
> Note: `"paginate": {}` avaliable methods see [docs](https://codeigniter4.github.io/userguide/libraries/pagination.html)
```php
$news = $this->news->paginate(15);
Expand All @@ -178,8 +178,8 @@ $news = $this->news->paginate(15);
"data": [
{
"id": "3",
"author": "Ms. Carole Wilderman DDS",
"description": "Labore id aperiam ut voluptatem eos natus.",
"title": "Ms. Carole Wilderman DDS",
"content": "Labore id aperiam ut voluptatem eos natus.",
"created_at": "2020-08-05 17:07:16",
"updated_at": "2020-08-05 17:07:16",
"deleted_at": null
Expand Down

0 comments on commit 1b09fd9

Please sign in to comment.