These docs are for v1.3.0. Click to read the latest docs for v1.6.

db_idx256_update

Update a record's secondary index inside a secondary 256-bit integer index table.

Update a record's secondary index inside a secondary 256-bit integer index table

Parameters

  • iterator - The iterator to the secondary index
  • payer - The account that is paying for this storage
  • data - The pointer to the new key of the secondary index
  • data_len - Size of the new key of the secondary index to store

Precondition

iterator is pointing to existing secondary index

Post Condition

the seconday index pointed by the iterator is updated by the new value