Rename a collection.
This function generates a change.
rename_collection(current_name, new_name)
Argument | Type | Description |
---|---|---|
current_name |
str (required) | Current collection name. |
new_name |
str (required) | New name for the collection. |
Returns nil
when successful.