ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:dictionary:addcolumnsql

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
v5:dictionary:addcolumnsql [2016/01/13 02:06]
mnewnham ↷ Page moved from dictionary:addcolumnsql to v5:dictionary:addcolumnsql
v5:dictionary:addcolumnsql [2016/01/13 02:06] (current)
mnewnham ↷ Links adapted because of a move operation
Line 3: Line 3:
 <WRAP right box> <WRAP right box>
 == See Also == == See Also ==
-[[dictionary:​column_attributes|Column Attributes Reference]] ​+[[v5:dictionary:​column_attributes|Column Attributes Reference]] ​
 == Syntax == == Syntax ==
   array addColumnSql(   array addColumnSql(
Line 13: Line 13:
 The method ''​addColumnSql()''​ creates the SQL statement necessary to add one or more columns to an existing table, given by ''​$tableName'',​ with the attributes specified in the string ''​$columnData''​. The column(s) must not already exist in the specified table. To add multiple columns, separate each column specification with a ','​. The method ''​addColumnSql()''​ creates the SQL statement necessary to add one or more columns to an existing table, given by ''​$tableName'',​ with the attributes specified in the string ''​$columnData''​. The column(s) must not already exist in the specified table. To add multiple columns, separate each column specification with a ','​.
  
-The information specified in the ''​$columnData''​ string must conform to the [[dictionary:​column_attributes|Column Attributes]] standard.+The information specified in the ''​$columnData''​ string must conform to the [[v5:dictionary:​column_attributes|Column Attributes]] standard.
  
-In order to actually create the column, the returned array must be passed to the [[dictionary:​executeSqlArray|executeSqlArray()]] method. ​+In order to actually create the column, the returned array must be passed to the [[v5:dictionary:executesqlarray|executeSqlArray()]] method. ​
  
 ===== Usage ===== ===== Usage =====
v5/dictionary/addcolumnsql.txt · Last modified: 2016/01/13 02:06 by mnewnham