ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:setfetchmode

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
v5:reference:connection:setfetchmode [2018/06/11 10:22]
dregad [Fetch Both] Add full code example
v5:reference:connection:setfetchmode [2020/01/05 12:30] (current)
dregad
Line 4: Line 4:
 If you have multiple connection objects, and want to have different fetch modes for each connection, then use SetFetchMode. Once this function is called for a connection object, that connection object will ignore the global variable ''​$ADODB_FETCH_MODE''​ and will use the internal fetchMode property exclusively. If you have multiple connection objects, and want to have different fetch modes for each connection, then use SetFetchMode. Once this function is called for a connection object, that connection object will ignore the global variable ''​$ADODB_FETCH_MODE''​ and will use the internal fetchMode property exclusively.
 <WRAP right 300px box> <WRAP right 300px box>
-== See Also == 
-[[v5:​reference:​$ADODB_FETCH_MODE]]\\ 
-[[v5:​reference:​connection:​getFetchMode()]]\\ 
 == Syntax == == Syntax ==
     int setFetchMode(     int setFetchMode(
Line 12: Line 9:
     )     )
  
 +== See Also ==
 +[[v5:​reference:​$ADODB_FETCH_MODE]]\\
 +[[v5:​reference:​connection:​getFetchMode()]]\\
 </​WRAP>​ </​WRAP>​
 ==== Use as a getter ==== ==== Use as a getter ====
v5/reference/connection/setfetchmode.txt · Last modified: 2020/01/05 12:30 by dregad