DeleteByIds

API definition

APP_ERROR DeleteByIds(const std::vector<int64_t>& ids);

Function

Deletes vectors with corresponding IDs from the database by ID array.

Input

const std::vector<int64_t>& ids: ID array of vectors to be deleted.

Output

N/A

Return value

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

Restrictions

The ID specified by ids is the same as that in the addition API.