ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:database:text

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
database:text [2015/10/14 16:48] mnewnhamv5:database:text [2016/01/13 02:06] – ↷ Links adapted because of a move operation mnewnham
Line 19: Line 19:
 This is a 2 dimensional array of data. Optionally, The first row may contain the column names. If column names are not defined in first row, they must be defined in the third argument $columnNames. This is a 2 dimensional array of data. Optionally, The first row may contain the column names. If column names are not defined in first row, they must be defined in the third argument $columnNames.
 ==== $dataTypes ==== ==== $dataTypes ====
-The optional parameter $dataTypes provides an array of [[dictionary:metatype|metaTypes]] that match the columns in the table. This array forces a type onto each column. If the array is not provided, the driver probes each column in an attempt to discern the data types in the column. If results are ambiguous, the driver assigns a metaType of 'C'. Better results are always obtained if the column types are defined, because the driver only recognize C,I and N types.+The optional parameter $dataTypes provides an array of [[v5:dictionary:metatype|metaTypes]] that match the columns in the table. This array forces a type onto each column. If the array is not provided, the driver probes each column in an attempt to discern the data types in the column. If results are ambiguous, the driver assigns a metaType of 'C'. Better results are always obtained if the column types are defined, because the driver only recognize C,I and N types.
 ---------------------- ----------------------
 <WRAP right info 400px> <WRAP right info 400px>
v5/database/text.txt · Last modified: 2020/01/13 13:17 by dregad