File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
user_guide_src/source/changelogs Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,8 @@ limit(0) Behavior
251
251
generated SQL statement will have no ``LIMIT `` clause and all records will be
252
252
returned.
253
253
- It is recommended that ``$limitZeroAsAll `` in **app/Config/Feature.php ** be set
254
- to ``false `` as this incorrect behavior will be fixed in a future version.
254
+ to ``false `` as this incorrect behavior will be fixed in a future version. See
255
+ also :ref: `v450-model-findall-limit-0-behavior `.
255
256
256
257
Forge
257
258
-----
@@ -262,6 +263,17 @@ Others
262
263
Model
263
264
=====
264
265
266
+ .. _v450-model-findall-limit-0-behavior :
267
+
268
+ findAll(0) Behavior
269
+ -------------------
270
+
271
+ - Added a feature flag ``Feature::$limitZeroAsAll `` to fix the incorrect behavior
272
+ of ``limit(0) `` for Query Builder. See :ref: `v450-query-builder-limit-0-behavior `
273
+ for details.
274
+ - If you enable this flag, you need to change code like ``findAll(0, $offset) ``
275
+ to ``findAll(null, $offset) ``.
276
+
265
277
Libraries
266
278
=========
267
279
You can’t perform that action at this time.
0 commit comments