Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

Commit

Permalink
corrected the fetch_mode change affecting function (#834)
Browse files Browse the repository at this point in the history
As written in the "setFetchMode" only "fetch()" gets affected. so the remaining two "fetchArray()" and "fetchAll()" should no tbe affected.
  • Loading branch information
raghavgarg1257 authored and SidRoberts committed Jul 19, 2016
1 parent f1999ee commit 3ecae97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/api/Phalcon_Db_Result_Pdo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Fetches an array/object of strings that corresponds to the fetched row, or FALSE
public **fetchArray** ()

Returns an array of strings that corresponds to the fetched row, or FALSE if there are no more rows. This method is affected by the active fetch flag set using Phalcon\\Db\\Result\\Pdo::setFetchMode
Returns an array of strings that corresponds to the fetched row, or FALSE if there are no more rows. This method is not affected by the active fetch flag set using Phalcon\\Db\\Result\\Pdo::setFetchMode

.. code-block:: php
Expand All @@ -73,7 +73,7 @@ Returns an array of strings that corresponds to the fetched row, or FALSE if the
public **fetchAll** ([*unknown* $fetchStyle], [*unknown* $fetchArgument], [*unknown* $ctorArgs])

Returns an array of arrays containing all the records in the result This method is affected by the active fetch flag set using Phalcon\\Db\\Result\\Pdo::setFetchMode
Returns an array of arrays containing all the records in the result This method is not affected by the active fetch flag set using Phalcon\\Db\\Result\\Pdo::setFetchMode

.. code-block:: php
Expand Down

0 comments on commit 3ecae97

Please sign in to comment.