milvus-logo
Star
0
Forks
0
Get Started

drop_alias()

This method alters an alias of a collection to another.

Invocation

drop_alias(alias, timeout=None, using='default')

Parameters

ParameterDescriptionTypeRequired
aliasAlias to dropStringTrue
timeoutAn optional duration of time in seconds to allow for the RPC. If it is set to None, the client keeps waiting until the server responds or error occurs.FloatFalse
usingMilvus Connection used to check the segmentsStringFalse

Return

No return.

Raises

  • CollectionNotExistException: error if the collection does not exist.
  • BaseException: error if the alias does not exist.