Function eosio_sys::db_idx64_update
source · Expand description
Update an association for a 64-bit integer secondary key to a primary key in a secondary 64-bit integer index table
@brief Update an association for a 64-bit integer secondary key to a primary key in a secondary 64-bit integer index table
@param iterator - The iterator to the table row containing the secondary key association to update
@param payer - The account that pays for the storage costs (use 0 to continue using current payer)
@param secondary - Pointer to the new secondary key that will replace the existing one of the association
@pre iterator
points to an existing table row in the table
@post the secondary key of the table row pointed to by iterator
is replaced by *secondary