====== actualType ======
~~NOTOC~~
== See Also ==
[[v5:dictionary:metatype|metaType()]]
== Syntax ==
string actualType(
string $metaType
)
===== Description =====
The method ''actualType()'' returns the database specific data type for a given [[v5:dictionary: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
*/