We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dd46a5 commit c8d2fb9Copy full SHA for c8d2fb9
1 file changed
user_guide_src/source/libraries/pagination.rst
@@ -39,8 +39,8 @@ The first element is the results from the database, **users**, which is retrieve
39
the Model will hold on to the instance it used and store it in the public property, ``$pager``. So, we grab
40
that and assign it to the ``$pager`` variable in the view.
41
42
-.. important:: It is important to understand that the Model::paginate() method uses the Model and QueryBuilder methods.
43
- Therefore, trying to use ``$db->query()`` and Model::paginate() **will not work** because ``$db->query()`` executes
+.. important:: It is important to understand that the ``Model::paginate()`` method uses the **Model** and **QueryBuilder** methods.
+ Therefore, trying to use ``$db->query()`` and ``Model::paginate()`` **will not work** because ``$db->query()`` executes
44
the query immediately and is not associated with a QueryBuilder.
45
46
To define conditions for pagination in a model, you can:
0 commit comments