v5:dictionary:metatype
This is an old revision of the document!
metaType
Syntax
string metaType( mixed $dataType )
Description
The function metaType()
accepts as an argument a native, database-specific type.
This is usually the result of a call to fetchField(), and can be given either as a string, or an ADOFieldObject.
It returns an ADOdb standard datatype, which provides a mapping to allow cross-database compatibility.
Usage
/* * Connection to mysql database */ print $db->metaType('VARCHAR'); /* * Returns 'C' */
v5/dictionary/metatype.1615281368.txt.gz · Last modified: 2021/03/09 10:16 by dregad