DeleteFeatureByLabel

API definition

APP_ERROR DeleteFeatureByLabel(int64_t count, const int64_t *labels);

Function

Removes features of specified labels in batches.

Input

int64_t count: number of features to be removed.

const int64_t *labels: feature label.

Output

N/A

Return value

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

Restrictions

  • Value range of count: [1, 1e6]
  • The length of labels must be count, and each element must be unique and exist in the database. Otherwise, an out-of-bounds read/write error may occur, causing program breakdown.