Rename Hive¶
Description¶
This operation renames a hive.
Method¶
Backendless.Hive(hiveName).rename(newHiveName): Promise<void>;
where:
Argument | Description |
---|---|
hiveName |
Name of a hive to rename. String value. |
newHiveName |
A new name to assign to a hive. String value. |
Return Value¶
None.
Example¶
The example below renames the 'groceryStore'
hive to 'furnitureStore'
.
await Backendless.Hive('groceryStore').rename('furnitureStore')
where:
Argument | Description |
---|---|
'groceryStore' |
The current name of the hive. |
'furnitureStore' |
A new name to assign to a hive. |
Codeless Reference¶
where:
Argument | Description |
---|---|
current name |
Name of a hive to rename. |
new name |
New name to assign to a hive. |
The example below renames the "groceryStore"
hive to "furnitureStore"
: