ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


reference:adodb_datatypes

This is an old revision of the document!


ADOdb Data Types

ADOdb provides a cross-platform method of identifying the data type of a field. These values can be used as a replacement in code that relies on the data type of field to produce a result. Each database driver contains a cross-reference table of datatypes that can accessed using the metaType() method.

Summary Of Types

TypeRepresents Field Types
Ccharacter fields that should be shown in a <input type=“text”> tag
XTeXt, large text fields that should be shown in a <textarea>
BBlobs, or Binary Large Objects. Typically images.
DDate field
TTimestamp field
LLogical field (boolean or bit-field)
IInteger field
NNumeric field. Includes autoincrement, numeric, floating point, real and integer.
RSerial field. Includes serial, autoincrement integers. This works for selected databases. Some databases do not signify if a field is auto-increment
reference/adodb_datatypes.1437262858.txt.gz · Last modified: (external edit)