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 revision
Previous revision
Next revisionBoth sides next revision
dictionary:actualtype [2015/08/27 02:06] – created mnewnhamv5:dictionary:actualtype [2016/01/13 02:06] – ↷ Page moved from dictionary:actualtype to v5:dictionary:actualtype mnewnham
Line 13: Line 13:
 ===== 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 20:
 * Example connection to MySQL database * Example connection to MySQL database
 */ */
 +$dict = NewDataDictionary($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