QdrantVectorDbClient.DoesCollectionExistAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Check if a vector collection exists.
public System.Threading.Tasks.Task<bool> DoesCollectionExistAsync (string collectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member DoesCollectionExistAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.DoesCollectionExistAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function DoesCollectionExistAsync (collectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
Parameters
- collectionName
- String
The name assigned to a collection of vectors.
- cancellationToken
- CancellationToken
The CancellationToken to monitor for cancellation requests. The default is None.