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 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' */
v5/dictionary/metatype.1493582282.txt.gz · Last modified: 2017/04/30 21:58 by mnewnham