ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:dictionary:actualtype

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
dictionary:actualtype [2015/08/27 02:06] – created mnewnhamdictionary:actualtype [2015/08/27 02:18] mnewnham
Line 12: Line 12:
 </WRAP> </WRAP>
 ===== Description ===== ===== Description =====
-The method ''actualType()'' returns the database specific data type for a given [[dictionary:metaType]]. The returned values varies from one database to another. +The method ''actualType()'' returns the database specific data type for a given [[dictionary:metaType]]. The returned values varies from one database to another. A connection to a data dictionary object is required.
 ===== Usage ==== ===== Usage ====
 <code php> <code php>
Line 18: Line 18:
 * Example connection to MySQL database * Example connection to MySQL database
 */ */
 +$dict = new dataDictionary($db);
  
-$t = $db->metaType('I4');+$t = $dict->actualType('I4');
  
-   +print $t; 
 + 
 +/* 
 + * Prints INTEGER 
 + */ 
 +</code>
v5/dictionary/actualtype.txt · Last modified: 2021/01/18 03:45 by mnewnham