dropAlias()
This method remove alias for a collection.
Invocation
new milvusClient(MILUVS_ADDRESS).collectionManager.dropAlias(DropAliasReq);
Parameters
DropAliasReq(object)
Parameter | Description | Type | Required |
---|---|---|---|
collection_name | Target collection name | String | True |
Alias | Alias name | String | True |
timeout | An optional duration of time in millisecond to allow for the RPC. Default is undefined | Number | False |
Example
new milvusClient(MILUVS_ADDRESS).collectionManager.dropAlias({
collection_name: "my_collection",
alias: "my_alias",
});
Return
// create collection return
{ error_code: 'Success', reason: '' }