ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:dictionary:actualtype

This is an old revision of the document!


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 = new dataDictionary($db);
 
$t = $dict->actualType('I4');
 
print $t;
 
/*
 * Prints INTEGER
 */
v5/dictionary/actualtype.1448767496.txt.gz · Last modified: 2017/04/21 11:29 (external edit)