Milvus
Zilliz
< Docs
  • Node

checkCompatibility()

This operation checks the compatibility of the SDK with the Milvus server.

checkCompatibility(data?): Promise<any>

Request Syntax

milvusClient.checkCompatibility({
    checker?: Function,
    message?: string
})

PARAMETERS:

  • checker (Function) -

    A callback function that will be called if the current SDK is compatible.

  • message (string) -

    The error message to throw if the SDK is incompatible.

RETURN TYPE:

Promise<any>

RETURNS:

A promise that resolves to the result of the specified checker function.

Examples

milvusClient.checkCompatibility({
   checker: () => { console.log("compatible") },
   message: "incompatible"
});

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?