DeleteFeatureByToken

API definition

APP_ERROR DeleteFeatureByToken(int64_t count, const uint32_t *tokens);

Function

Removes features in batches based on specified token IDs.

Input

int64_t count: token length.

const uint32_t *tokens: token ID.

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 tokens must be count. tokens to be removed must exist in the database. Otherwise, an out-of-bounds read/write error may occur, causing program breakdown.