V6 Provider: \ADOdb\database\drivers\[driver]\ADOMetaFunctions ====== metaType ====== ~~NOTOC~~ == Syntax == string metaType( mixed $dataType ) ===== Description ===== The function ''metaType()'' accepts as an argument a database specific datatype, usually the result of a call to [[v6:reference:recordset:fetchfield|fetchField()]] and returns an ADOdb datatype, which provides a mapping to allow cross-database compatibility. The compatible fields are explained [[v6:dictionary:dictionary_index#Summary_Of_Types|Here]] ===== Usage ===== /* * Connection to mysql database */ print $db->metaType('VARCHAR'); /* * Returns 'C' */