It's same function as flush. But flushSync is sync function. So you can ensure it's flushed after function return the result.
new milvusClient(MILUVS_ADDRESS).collectionManager.flushSync(FlushReq);
Parameter | Description | type | required |
---|---|---|---|
collection_names | An array of Collection name | String[] | true |
new milvusClient(MILUVS_ADDRESS).dataManager.flushSync({
collection_names: ['my_collection'],
});
// flushSync return