Skip to content

Commit 3404dac

Browse files
committed
fixed documentation
1 parent 5122079 commit 3404dac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Use limit to specify the number of records to be retrieved, and use offset to sp
102102

103103
```php
104104
// Retrieve 5 models.
105-
$todos = $this->todo_model->limit(5);
105+
$todos = $this->todo_model->limit(5)->all();
106106

107107
// Retrieve 5 models, starting at the 31st.
108108
$todos = $this->todo_model->limit(5)->offset(30)->all();

0 commit comments

Comments
 (0)