milvus-logo
LFAI
< Docs
  • Node
    • Client

closeConnection()

This method closes the connection to Milvus. Make sure you close the connection only when you are done.

Invocation

milvusClient.closeConnection();

Parameters

None.

Example

milvusClient.closeConnection();

Return

// grpc client return closed -> 4, connected -> 0 
4

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?