Skip to content

Rename Hive

Description

This operation renames a hive.

Method

Backendless.Hive(hiveName).rename(newHiveName): Promise<void>;

where:

Argument                Description
hiveName Name of a hive which to rename. String value.
newHiveName New name to assign to a hive. String value.

Return Value

None.

Example

The example below renames 'groceryStore' hive to 'furnitureStore'.

await Backendless.Hive('groceryStore').rename('furnitureStore')

where:

Argument                Description
'groceryStore' Name of the hive to rename.
'furnitureStore' New name to assign to the hive.


Codeless Reference

management_api_rename_hive

where:

Argument                Description
current name Name of a hive to rename.
new name New name to assign to a hive.

The example below renames a hive from groceryStore to furnitureStore:

management_api_example_rename_hive