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

Next revision
Previous revision
reference:getfetchmode [2015/07/12 22:09] – created mnewnhamv5:reference:connection:getfetchmode [2020/01/05 12:32] (current) – Use WRAP clear instead of newlines 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 ==+== 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]]
 +
 +<WRAP clear/>
  
 ==== 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.1436731743.txt.gz · Last modified: 2017/04/21 11:35 (external edit)