ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:dictionary:actualtype

actualType

See Also

metaType()

Syntax
string actualType(
    string $metaType
)

Description

The method actualType() returns the database specific data type for a given metaType. The returned values varies from one database to another.

A connection to a data dictionary object is required.

Usage

/*
* Example connection to MySQL database
*/
$dict = NewDataDictionary($db);
 
$t = $dict->actualType('I4');
 
print $t;
 
/*
 * Prints INTEGER
 */
v5/dictionary/actualtype.txt · Last modified: 2016/01/13 02:06 by mnewnham