ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


Action unknown: siteexport_addpage
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. The function returns information about both standard and custom metatypes.

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: 2021/01/18 03:45 by mnewnham