v5:dictionary:renamecolumnsql
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dictionary:renamecolumnsql [2015/10/31 19:20] – mnewnham | dictionary:renamecolumnsql [2016/01/13 01:53] – ↷ 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> | ||
Line 8: | Line 5: | ||
[[dictionary: | [[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 [[v5: | ||
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 [[dictionary: |
v5/dictionary/renamecolumnsql.txt · Last modified: 2016/01/13 02:06 by mnewnham