milvus-logo

list_collections()

This method lists all collections in Milvus.

Invocation

list_collections(timeout=None, using='default')

Parameters

ParameterDescriptionTypeRequired
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 list collections.StringFalse

Return

A list of collection names.