DeleteByRange

API definition

APP_ERROR DeleteByRange(int64_t startId, int64_t endId);

Function

Deletes vectors with the corresponding IDs by ID range.

Input

int64_t startId: start ID of the vector to be deleted.

int64_t endId: end ID of the vector to be deleted.

Output

N/A

Return value

APP_ERROR: return status. For details, see Return Code Reference.

Restrictions

The ID (ID ∈ [startId, endId]) to be deleted same as that in the addition API.