ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:reference_index

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:reference_index [2016/04/13 02:54] – [Dates] mnewnhamv5:reference:reference_index [2016/04/22 02:35] – [Table] mnewnham
Line 53: Line 53:
 | [[v5:reference:connection:getall|getAll()]]            | Executes a provided SQL statement and returns the entire recordset into an array                                                            | | [[v5:reference:connection:getall|getAll()]]            | Executes a provided SQL statement and returns the entire recordset into an array                                                            |
 | [[v5:reference:connection:getassoc|getAssoc()]]        | Executes a provided SQL statement and returns the entire recordset into an associatitive array with the value of the first column as a key  | | [[v5:reference:connection:getassoc|getAssoc()]]        | Executes a provided SQL statement and returns the entire recordset into an associatitive array with the value of the first column as a key  |
-| [[v5:reference:connection:getcol|getCol()]]            | Executes a provided SQL statement and returns the first row of the entire recordset into a numeric array                                    |+| [[v5:reference:connection:getcol|getCol()]]            | Executes a provided SQL statement and returns the first column of each row of he entire recordset into an array                             |
 | [[v5:reference:connection:getmedian|getMedian()]]      | Returns the median value of a column in a table                                                                                             | | [[v5:reference:connection:getmedian|getMedian()]]      | Returns the median value of a column in a table                                                                                             |
 | [[v5:reference:connection:getone|getOne()]]            | Retrieves the first column of the first matching row of an executed SQL statement                                                           | | [[v5:reference:connection:getone|getOne()]]            | Retrieves the first column of the first matching row of an executed SQL statement                                                           |
Line 107: Line 107:
 | [[v5:reference:connection:settransactionmode|setTransactionMode()]]     || Sets the isolation level of a transaction.    | | [[v5:reference:connection:settransactionmode|setTransactionMode()]]     || Sets the isolation level of a transaction.    |
 | [[v5:reference:connection:starttrans|startTrans()]]                     || Starts a smart transaction                    | | [[v5:reference:connection:starttrans|startTrans()]]                     || Starts a smart transaction                    |
 +| [[v5:reference:connection:transcnt|transCnt]]|| Returns the nesting level of smart transactions| 
 +| [[v5:reference:connection:transcnt|transOff]]||Temporarily disables transactions| 
 ==== Fetching Data ==== ==== Fetching Data ====
 |[[v5:reference:connection:getfetchmode|getFetchMode()]]|Get the array type for return data| |[[v5:reference:connection:getfetchmode|getFetchMode()]]|Get the array type for return data|
v5/reference/reference_index.txt · Last modified: 2023/06/04 12:39 by dregad