File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
developer_manual/app_publishing_maintenance/app_upgrade_guide Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,8 @@ Added Events
8888Added APIs
8989^^^^^^^^^^
9090
91- - TBD
91+ - We now expose ``\OCP\DB\IResult::iterateAssociative ``, ``\OCP\DB\IResult::iterateNumeric `` from doctrine/dbal.
92+ These two methods returns iterator and can be directly used in a `foreach ` to iterate over a SQL query result.
9293
9394Changed APIs
9495^^^^^^^^^^^^
@@ -98,7 +99,11 @@ Changed APIs
9899Deprecated APIs
99100^^^^^^^^^^^^^^^
100101
101- - TBD
102+ - The ``\OCP\DB\IResult::fetch `` and ``\OCP\DB\IResult::fetchAll `` are soft-deprecated. Instead you can use
103+ ``\OCP\DB\IResult::fetchAssociative ``, ``\OCP\DB\IResult::fetchNumeric `` and ``\OCP\DB\IResult::fetchOne ``
104+ as replacement for ``\OCP\DB\IResult::fetch ``; and ``\OCP\DB\IResult::fetchAllAssociative ``,
105+ ``\OCP\DB\IResult::fetchAllNumeric `` and ``\OCP\DB\IResult::fetchFirstColumn `` as replacement for
106+ ``\OCP\DB\IResult::fetchAll ``.
102107
103108Removed APIs
104109^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments