Skip to content

Rename Hive

Description

This operation renames a hive.

Method

Backendless.Hive().rename(hiveName, newName);

where:

Argument                Description
hiveName Name of a hive to rename. String value.
newName A new name to assign to a hive. String value.

Return Value

None.

Example

The example below renames the "groceryStore" hive to "furnitureStore".

Backendless.Hive().rename("groceryStore", "furnitureStore");

where:

Argument                Description
"groceryStore" The current name of the hive.
"furnitureStore" A new name to assign to a 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 the "groceryStore" hive to "furnitureStore":

management_api_example_rename_hive