ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:dictionary:structure:addcolumnobject

Differences

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

Link to this comparison view

Next revision
Previous revision
v5:dictionary:structure:addcolumnobject [2016/04/09 18:48] – created mnewnhamv5:dictionary:structure:addcolumnobject [2016/04/09 19:26] (current) mnewnham
Line 7: Line 7:
 [[v5:dictionary:column_attributes|Column Attributes Reference]]\\  [[v5:dictionary:column_attributes|Column Attributes Reference]]\\ 
 == Syntax == == Syntax ==
-  obj addColumnObjectAttribute(+  obj addColumnObject(
       string $columnName,       string $columnName,
       string $columnType,       string $columnType,
-      optional string $platform='', +      optional string $platform='' 
-  +  ) 
-      )+  
 </WRAP> </WRAP>
 The method ''addColumnObject()'' is part of the **//Structured Schema Management//** suite, and adds a column to the current [[v5:dictionary:stucture:metaobjectstructure|table]] object.  The method ''addColumnObject()'' is part of the **//Structured Schema Management//** suite, and adds a column to the current [[v5:dictionary:stucture:metaobjectstructure|table]] object. 
 +---------------------------------------------
 ===== Parameters ===== ===== Parameters =====
 ==== $columnName ==== ==== $columnName ====
-The attribute can be provided as a string, a numeric or associative array, and can describe any parameter understood by the DBMS. For example, it might be necessary to add an option to tell the DBMS what type of database engine to use.+The column name can be any value understood by the DBMS.
 ==== $columnType ==== ==== $columnType ====
 The column type is declared using a [[v5:dictionary:metatype|metaType]] definition. The column type is declared using a [[v5:dictionary:metatype|metaType]] definition.
Line 24: Line 24:
 ==== Platform ==== ==== Platform ====
 The platform parameter can be any parameter recognized by the [[v5:dictionary:structure:platform|Platform]] keyword. The platform parameter can be any parameter recognized by the [[v5:dictionary:structure:platform|Platform]] keyword.
- 
  
 ===== Usage ===== ===== Usage =====
v5/dictionary/structure/addcolumnobject.txt · Last modified: 2016/04/09 19:26 by mnewnham