ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:recordset:fetchobj

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
v5:reference:recordset:fetchobj [2016/01/17 00:22] – ↷ Page moved from v5:reference:fetchobj to v5:reference:recordset:fetchobj mnewnhamv5:reference:recordset:fetchobj [2016/01/28 18:00] – [Usage] mnewnham
Line 9: Line 9:
 The function ''fetchObj()'' returns the current row of a recordset as an ADOFetchObj object or false if past end-of-file and advances the pointer of the result. If the end-of-file is reached, the ''EOF'' attribute is set. The function ''fetchObj()'' returns the current row of a recordset as an ADOFetchObj object or false if past end-of-file and advances the pointer of the result. If the end-of-file is reached, the ''EOF'' attribute is set.
  
-Unlike the [[v5:reference:fetchNextObj()]] method, the record pointer is not advanced. It is recommended that the 2 methods are not mixed in the same procedure. +Unlike the [[v5:reference:recordset:fetchNextObj()]] method, the record pointer is not advanced. It is recommended that the 2 methods are not mixed in the same procedure. 
  
 Results are influenced both by the [[v5:reference:adodb_assoc_case|ADODB_ASSOC_CASE]] constant and [[v5:reference:adodb_fetch_mode|$ADODB_FETCH_MODE]] attribute. Results are influenced both by the [[v5:reference:adodb_assoc_case|ADODB_ASSOC_CASE]] constant and [[v5:reference:adodb_fetch_mode|$ADODB_FETCH_MODE]] attribute.
Line 43: Line 43:
 */ */
 </code> </code>
-{{tag>[PEAR]}}+{{tag>[PEAR] [Objects]}}
v5/reference/recordset/fetchobj.txt · Last modified: 2023/06/11 12:25 by dregad