rename_collection

Rename a collection.

This function generates an event.

Function

rename_collection(current_name, new_name);

Arguments

Argument Type Description
current_name str (required) Current collection name.
new_name str (required) New name for the collection.

Return value

Returns nil when successful.