V6 Provider: \ADOdb\database\drivers\[driver]\ADOMetaFunctions

metaType

Syntax
string metaType(
       mixed $dataType
       )

Description

The function metaType() accepts as an argument a database specific datatype, usually the result of a call to fetchField() and returns an ADOdb datatype, which provides a mapping to allow cross-database compatibility. The compatible fields are explained Here

Usage

/*
* Connection to mysql database
*/
 
print $db->metaType('VARCHAR');
/*
* Returns 'C'
*/