[[v5:dictionary:Index]]\\ ====== The Data Dictionary ====== ===== Introduction ===== The Data Dictionary provides a series of functions **'Meta-Functions'** that allow a portable method of managing the schema of databases, from simple querying of data attributes of columns to XML based routines to build and manage new tables. ===== Portable Data Types ===== ADOdb provides a cross-platform method of identifying the data type of a field. These values can be used as a replacement in code that relies on the data type of field to produce a result. Each database driver contains a cross-reference table of datatypes that can accessed using the [[v5:dictionary:metatype|metaType()]] method. ==== Summary Of Standard Types ==== ^ Type ^ Represents Field Types ^ When Using addColumnSql ^ Example ^ | C | character fields that should be shown in a tag | Add the length of the field | C(20) | | C2 | Like a C field, but where possible a field that can hold multi-byte (unicode) data is created | Add the length of the field | C2(20) | | X | TeXt, large text or CLOB fields that should be shown in a