command cdb_renameKey pTable, pKey, pNewName
This command renames a key from a specific table.
pTable (String) - The specified table ID or table name.
pKey (String) - The current name of the key that will be renamed.
pNewName (String) - The new name that the key will be renamed to.
- This API call requires internet access.
- This API requires Developer Auth. See Accounts and Authorization for more details.
local tTable, tKey, tNewName # Table name: clients # Keys: firstName, lastName, age, income put "clients" into tTable put "income" into tKey put "salary" into tNewName cdb_renameKey tTable,tKey,tNewName