V6 Provider: \ADOdb\database\drivers\[driver]\ADODataDictionary
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.
/* * Example connection to MySQL database */ $obj = new ADOdb\connector; $db = $obj->connect('127.0.0.1',"adodb","adodb",'employees'); $dict = $obj->loadDataDictionary(); $t = $dict->actualType('PO'); print $t; /* * Prints POINT */
/* * Example connection to MySQL database */ $obj = new ADOdb\connector; $db = $obj->connect('127.0.0.1',"adodb","adodb",'employees'); $dict = new \ADOdb\database\drivers\mysqli\ADODatadictionary($db); $t = $dict->actualType('PO'); print $t; /* * Prints POINT */