v5:dictionary:renamecolumnsql
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dictionary:renamecolumnsql [2015/12/09 18:46] – [Description] mnewnham | v5:dictionary:renamecolumnsql [2016/01/13 02:06] (current) – ↷ Links adapted because of a move operation mnewnham | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== renameColumnSql ====== | ====== renameColumnSql ====== | ||
- | <WRAP todo> | ||
- | Add example using column specification | ||
- | </ | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
<WRAP right box> | <WRAP right box> | ||
== See Also == | == See Also == | ||
- | [[dictionary: | + | [[v5:dictionary: |
== Syntax == | == Syntax == | ||
- | | + | array renameColumnSql( |
- | string $tableName, | + | string $tableName, |
- | string $oldColumnName, | + | string $oldColumnName, |
- | string $newColumnName, | + | string $newColumnName, |
- | optional string $columnSpecification='' | + | optional string $columnSpec='' |
- | ) | + | ) |
</ | </ | ||
===== Description ===== | ===== Description ===== | ||
The method '' | The method '' | ||
- | For [[database: | + | For [[v5:database:mysql# |
- | In order to actually rename the column, the returned array must be passed to the [[dictionary: | + | In order to actually rename the column, the returned array must be passed to the [[v5:dictionary:executesqlarray|executeSqlArray()]] method. |
---------- | ---------- | ||
===== Usage ===== | ===== Usage ===== |
v5/dictionary/renamecolumnsql.txt · Last modified: 2016/01/13 02:06 by mnewnham