Skip to main content

closeConnection()

Addedv2.3.x

This operation closes the current connection to the Milvus server.

await milvusClient.closeConnection()

Request Syntax

milvusClient.closeConnection()

RETURN TYPE:

Promise<CONNECT_STATUS>

RETURNS:

A promise that resolves to the final status of the current connection to the Milvus server, which should be SHUTDOWN.

Example

milvusClient.closeConnection()