ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:getfetchmode

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
Last revisionBoth sides next revision
reference:getfetchmode [2015/07/12 22:21] mnewnhamv5:reference:connection:getfetchmode [2020/01/05 12:30] – [getFetchMode] dregad
Line 1: Line 1:
 ====== getFetchMode ======  ====== getFetchMode ====== 
-Returns the current [[reference:setFetchMode|recordset fetch mode]]+~~NOTOC~~
 <WRAP right 300px box> <WRAP right 300px box>
-== Syntax Fro 5.21.0 ==+== Syntax From 5.21.0 == 
     int getFetchMode()     int getFetchMode()
 +
 +== See Also ==
 +[[v5:reference:connection:setFetchMode()]]\\
 +[[v5:reference:$ADODB_FETCH_MODE]]\\
  
 </WRAP> </WRAP>
 +
 +Returns the current [[v5:reference:connection:setfetchmode|recordset fetch mode]]
 +
 +\\ \\ \\ \\ \\
  
 ==== Return Value ==== ==== Return Value ====
Line 12: Line 21:
 |ADODB_FETCH_NUM|1|The recordset is returned as a numeric array| |ADODB_FETCH_NUM|1|The recordset is returned as a numeric array|
 |ADODB_FETCH_ASSOC|2|The recordset is returned as an associative array| |ADODB_FETCH_ASSOC|2|The recordset is returned as an associative array|
-|ADODB_FETCH_BOTH|3|The record is returned as both a numeric and associative arrays|+|ADODB_FETCH_BOTH|3|The record is returned as both a numeric and associative arrays. (limited database support)|
  
 ===== Usage ===== ===== Usage =====
v5/reference/connection/getfetchmode.txt · Last modified: 2020/01/05 12:32 by dregad